Skip to content
EthannYakabuskiPublic

About

A top down 3d crime simulator set in modern times. A struggling student must hit the streets and sell his product in order to pay tuition. Fully playable in browser - with controller support included

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

NIGHT SCHOOL

Tuition is due. The city is open.

A browser and Android, single-player 3D crime and student-life sandbox built with Godot 4.5.1's Compatibility renderer. Walk, run, skate, or drive through a compact modern neighbourhood inspired by the supplied Algonquin College / College Square / Deerfield aerial reference.

The game begins after class. Your friend Milo wants a favour, your backpack holds a little stock, and your student loan is still $3,500. Package stock, build a phone network, schedule meetings, keep your commitments, and climb through three supplier tiers. Stay fed, attend class, and watch the patrols. Paying the loan wins; arrest, fatal injuries, or three missed classes ends the run.

Play

Play Night School on GitHub Pages. Pushes to main test, build and publish updates automatically.

Use a browser with WebGL 2 and WebAssembly support. Phones support an on-screen joystick and action controls; landscape is recommended. Touch controls, graphics and sound are configurable in Settings. The game uses a single-threaded export, so it does not require cross-origin isolation headers. Saves stay in the browser/device you used; clearing site storage clears that save.

Control Action
WASD / arrows Move relative to the camera
Shift Run; consumes energy
Space Equip or stow the skateboard
E Talk, hand off, attend class, shop, or enter/exit
Tab / P Phone
B / I Backpack
M City map; click a landmark for directions
G Agenda and upcoming appointments
V Enter or exit a nearby vehicle
J / K / L Punch / kick / shoot
Mouse wheel Zoom
Escape Close menu / pause

Menus pause the clock. Clients walk to meetings about twelve game minutes early; close friends wait longer if you are late. Click the upcoming meeting card on the main HUD for directions. At a meeting location, the Agenda can skip ahead to thirty minutes before the appointment, leaving time to watch your contact walk in. Talk to the contact beside you to review the handoff or postpone it and receive a later callback. Supplier pickups are physical meetings between 10 p.m. and 2 a.m. Client appointments can be scheduled up to eight hours ahead; “hit me up tomorrow” defers the request to the following day.

Controllers use standard Xbox-style button names (equivalent positions on other pads). Connect a controller and press a button after focusing the browser game.

Controller Action
Left stick Move; navigate menus
Right stick Scroll the open menu
A / B Interact or confirm / close menu
X / Y Skateboard / enter or exit vehicle
LT / RT Sprint / punch
LB / RB Phone / backpack
Select / Start Map / pause
D-pad up / right Agenda / contacts
D-pad left / down Kick / shoot
D-pad in menus Move focus; adjust a selected numeric value with left/right

The phone supports controller selection, scrolling and scheduling. A opens a dropdown, directions select an option, and A confirms; B backs out. Menus display the control hints for the most recently used input device.

On the supplier screen, focus the bundle quantity and use left/right to adjust it. Down moves directly to that supplier's Arrange pickup button; A confirms.

Milo's first follow-up arrives about ninety game minutes after saving his number. After later sales, customers wait six to eight game hours, plus extra time for larger orders, before requesting more. Other contacts can still text during that interval.

Systems

  • A guided opening sale, street conversations and an expanding phone network.
  • Ambient customers can buy and exchange numbers, refuse, or run to a nearby officer to report an offer.
  • Referral texts let you ask about the referrer and their shared history before accepting a new contact. Compare replies with known contact profiles; a coherent answer is a clue, never a guarantee.
  • Proactive offers to saved contacts, occasional requests for a discount, tomorrow replies and in-person postponements.
  • Relationships affected by punctuality, price, quality, cancellation and no-shows.
  • Three suppliers with social introductions, different prices, stock quality and bust risk. Each supplier needs two game days between new orders; a postponed pickup remains the same obligation.
  • Each bundle splits into seven dime bags. Suppliers who arrive early can hand over a pickup up to fifteen minutes before the appointment, including just before the 22:00 night window.
  • A finite backpack, food, first-aid kits, energy drinks, skateboard, late-game firearm/ammunition and owned car. First-aid kits cost $35 at the market and restore 40 health. Energy drinks temporarily reduce stamina drain and improve recovery for three game hours; the HUD shows stamina and remaining boost time.
  • Campus security and city police with a forward view cone, close-range awareness, pursuit, escape and hardcore arrest. Ordinary handoffs must be visible: patrols see within a 220-degree cone, or within six metres from any direction, and walls always block their view. Informant reports and planned stings can still dispatch police.
  • Animated pedestrians with a majority of solo walkers, spaced social groups, varied destinations and time spent at each stop, flowing road traffic, a roaming police cruiser and parked vehicles. Moving traffic can injure you and knock you off your board.
  • Chronological agenda and HUD cards for classes, client meetings, supplier pickups and parties, clickable directions, transaction pop-ups and original sounds for packing, sales, purchases, texts and police events.
  • Vehicle theft, recognizable stolen cars, solid roadside props, on-foot melee and ranged combat reactions. A successful punch or kick stuns an officer for one second.
  • One class per day (09:00 most days, 14:00 every third day), paid campus shifts, sleep, evening parties, and incremental tuition payments. Client meetings can use all sixteen named locations. The scheduling menu offers clock times and exact consecutive 30-minute appointments, even after the world clock advances. There is no agenda item count limit. Meetings during class remain selectable with a warning; choosing between those commitments is up to you.
  • Morning, afternoon, evening, dusk and night lighting; warm shop and interior lights.
  • Furnished player and neighbor apartments, market, cafe, lecture hall and learning commons interiors.
  • Automatic and manual saves, resume, explicit restart, and terminal victory/loss screens.

You can host one party per night, starting between 17:00 and 02:00 after reputation 5 and two contacts. Pay $25 for supplies, then invite up to eight contacts from the guest list. Guests walk to your door and gather inside for up to three hours, ending by 02:00. They mingle in small conversation groups and react with emotes. Catching up brings varied conversations and builds relationships; some guests decline a sale, and stock is never consumed automatically. Parties have a small, once-per-party chance of a police breakup: guests leave, an attending player is forced outside, and three officers begin a chase. Reloading preserves the outcome.

Friends with a relationship of at least 65 occasionally invite you to a gathering at the Deerfield neighbors' apartment. Accept their text, follow the agenda directions, and visit during the party. The host covers supplies. You can chat and choose individual sales just as at your own party.

Rae is your starting supplier. Until you exchange numbers, Sable has a 50% chance of attending a party and can also be found at Freight lane between 22:00 and 02:00. Once saved as a supplier, Sable stops joining future parties. Three completed Sable pickups earn a message introducing the Regent at the East trail shelter. Answer their conversation questions to keep their number. Supplier pickups use remote outskirts locations.

Two consecutive completed handoffs at one location attract extra attention; three bring heavier patrols, even without a prior bust. Reinforcements now head directly to that area before starting their patrol. New pursuits add local officers and increase the time you must remain unseen: 10, 10, 15, 20, 25, 30 seconds, then another 10 per pursuit. Extra local patrols leave after a full game day without another bust there. The outskirts have their own walkers and patrol routes, and some residents walk to parked cars, drive a circuit and return to a vacant space. Most ambient pedestrians head home in the evening, leaving a smaller nighttime population; daytime density returns in the morning.

Each new day lowers pursuit escalation by one stage, and each new bust still advances one stage. After a 20-second pursuit, overnight recovery lowers the base to 15 seconds, so the next bust requires 20 rather than 25. An ongoing pursuit retains its original requirement across midnight. Only cruisers initiate busts for road skating; sidewalks, parking lots and marked crosswalks are excluded. At the 20-second tier, cruisers actively pursue along the roads and foot patrols can fire after aiming with a clear view. Breaking sight or landing a melee hit interrupts their aim. Losing all health ends the run and opens the statistics screen.

Skateboards retain normal speed on pavement but crawl on grass. NPC emotes accompany conversations, sales, missed meetings and police alerts; a casual greeting alone does not reveal whether someone will buy.

Android

The same project exports a native Android application with the supplied Google Play Games Services addon. Touch covers movement, running, interaction, skating, vehicles, combat, zoom and pause; menus adapt to phone screens. Backgrounding captures and saves the current world, and returning opens Pause safely.

./scripts/build_android.ps1

The test APK is build/android/night-school-debug.apk. Android setup and testing explains package/certificate configuration, cloud backup/restore, optional achievement/leaderboard IDs and signed release bundles. Browser progress remains local; Google Play cloud saves apply to the Android application.

Develop locally

  1. Open project.godot with Godot 4.5.1 stable. The project uses GDScript and Compatibility rendering.
  2. Let the curated art/ assets import, then run the main scene.
  3. Install the matching official export templates for a web build.
./scripts/build_web.ps1 -GodotExe 'C:\path\to\Godot_v4.5.1-stable_win64_console.exe'
python ./tools/serve_web.py --port 8060

Open http://127.0.0.1:8060/. Opening the HTML directly from disk will not run the WebAssembly game correctly.

The build script imports resources, runs all tests/test_*.gd plus the scene smoke test, exports to build/web, and checks the generated files. Build logs and screenshots are generated artifacts and stay out of Git.

Deployment

Pushes to main run .github/workflows/web.yml: a self-hosted Windows x64 runner imports/tests/exports, then GitHub's Pages deployment job publishes the artifact. The GODOT_EXE repository variable selects the installed engine. See build and deployment details for runner startup, prerequisites and troubleshooting.

Project notes

  • Asset audit: all supplied packs, licenses, scales, palettes, animation and runtime selection.
  • Map design: spatial interpretation, roads, district layout and interiors.
  • Systems API: campaign state and integration contract.
  • Development plan: scope, milestones and verification policy.

Original source assets remain under Assets/, ignored by Godot's importer. The runtime uses a curated subset in art/; tools/curate_assets.py reproduces the model inventory and selection. Kenney asset licenses are retained alongside those assets. The supplied map screenshot is design reference, not a shipped game texture. Code is licensed under the repository's Apache 2.0 license.

About

A top down 3d crime simulator set in modern times. A struggling student must hit the streets and sell his product in order to pay tuition. Fully playable in browser - with controller support included

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages