Development

How Novergate is built

Novergate: School Rush is an interactive 3D game developed inside Base44 — not a set of generated images or a collection of imported models. This page documents the systems that exist in the project, where they live, and how the work was done. It is written from the code and records of this application.

Implemented systems

Each entry names the module it lives in, so the description can be checked against the project.

Startup and loading

routes/play.jsx · AssetSession · StartupScreen

The play route loads the project's asset registry, then shows the start screen. The three.js engine and the whole campus are only downloaded once the player leaves the menu, so the menu appears without waiting for the 3D world.

Character selection and player state

CharacterSelect · game/students/roster.js

Six roster slots, each pointing at an imported student model with its own unlock price. The chosen slot, the player's name and the students bought so far are stored in the save, so Continue restores exactly who was picked.

Campus rendering and movement

game/world/* · Player.js · FollowCamera.js

The campus is generated from a layout blueprint — wings, rooms, grounds, paths and props — and batched into instanced meshes to keep draw calls low. The player is a third-person character driven by a capsule controller with axis-aligned collision probes and a follow camera.

Input for touch and keyboard

GameHud.jsx · useGamePanels.js

A touch joystick, a drag-look layer and context action buttons for mobile; WASD, mouse look, E, Space, Shift, M, P and Esc for desktop. Portrait phones get a rotate notice, and the system back gesture closes panels in order.

Timetable and the school day

game/school/timetable.js · useGameClock.js · day.js

Periods, bell lead time and the attendance window live in one module; a clock hook advances the in-game minute, triggers bells, and checkpoints the save. The end of the day produces a summary from the day's own records.

Lesson papers

game/school/lessons.js · LessonOverlay · PaperRound

Papers are generated locally from a per-day seed, so a day always sets the same paper: maths rounds, biology matching and history questions. The overlay grades the answers and the save records the score, XP, coins and streak.

NPCs, dialogue and quests

game/npc/* · dialogue.js · missions.js

Classmates and staff are spawned with timetable routes and seated in classrooms. Dialogue is composed from the live save, so staff answer about the actual next lesson or open errand. Seven scripted tasks carry steps, destinations and rewards, advanced by the mission logic in the save.

Progression: XP, coins and ranks

game/school/progression.js · progress.js

Levels, five ranks, daily objectives and achievements are pure functions over the save. Every reward passes through one commit path in the game shell, which also settles objectives and promotions, so no reward can be paid twice.

Student phone and navigation

components/game/phone/* · world/navGraph.js · navigator.js

The phone holds the planner, map, records, tasks, progress and the student guide. Navigation builds a walkable route graph from the campus layout, so the map can mark a destination and the minimap keeps it in view.

Library and reading

game/school/books.js · LibraryPanel · BookReader

Nineteen titles in four sections, with optional rank, level or count requirements. Borrowing, page-by-page reading with illustrations and returning are recorded per book in the save, and finishing a book pays XP.

Restoration and chores

game/school/facilities.js · gardening.js · cleaning.js

The Community Garden runs on a one-way facility state machine: requirements, unlock cost, per-task restoration counts, then an active zone. Planting, watering and harvesting advance against the save's day number, and litter pickups are limited to once per piece per school day.

Tests, exams and the final paper

game/school/terms.js · assessments.js · excellence.js

A term is three seven-day weeks derived from the day number. Weekly tests and the term examination open on their scheduled day and stay open until passed, paying once on the first pass. The Excellence Challenge adds advanced papers and a final.

Saved progress

game/school/progress.js · game/assets/registry.js

The whole save is written to this device's local storage under one key, with migrations for older saves, and the current screen is kept in session storage. The asset registry itself is stored in Base44 entities, not in the save.

How Base44 is used

The application code, the gameplay systems, the interactions and the interface were built inside Base44. The project also uses imported 3D models and the Meshy integration for asset generation.

  • Routes and interface

    TanStack Start file routes render the public pages and the game screen. Inside the game, React owns the HUD, panels, menus and overlays; the screens a player moves between are state, not URLs, so the 3D world is never torn down between panels.

  • Engine layer

    A three.js runtime holds the scene, campus, player, NPCs, clock and interactions. It is loaded lazily on the play route and is driven through a single handle that exposes the player's pose, the game minute, navigation and the setters the interface calls.

  • Gameplay rules

    Timetable, lessons, missions, ranks, assessments, facilities, gardening, litter and save migrations are plain modules under the game folder. They take the save and return a new save, which keeps the rules testable and the save the single source of truth.

  • Data and backend

    Player progress lives on the device in local storage. The asset registry — which models exist, which role each fills, and the recorded diagnostics — is stored in Base44 entities and read through Base44 server functions, so every device plays with the same models.

Backend services actually in use

  • Entities for the asset registry: registered models, role assignments, recorded diagnostics and Meshy generation jobs.
  • Server functions to read the registry for the game and to write it from the administrator tools, with the caller verified and writes restricted to administrators.
  • A signed server route that streams a generated model to the browser, because the generation host does not allow direct browser downloads.
  • A server-side secret for the Meshy integration, so the key never reaches the browser.
  • App-user sign-in for the administrator tools only. Players do not need an account, and the game does not store personal data.

Development process

Novergate was built iteratively inside Base44, one system at a time: the campus and movement first, then the school day and lesson papers, then NPCs, errands, the phone, the library, the bicycle, progression, assessments and finally the restoration and chore systems. Each addition was wired into the interface and checked with a production build and lint pass, plus scripted checks over the rules that are easiest to get wrong — progression and rewards, the garden cycle, litter limits, book content and animation clip resolution.

The 3D side followed the same pattern: a model is generated or imported, registered in the asset registry, assigned to a role, and only then does the game code look it up. That is why the recent student, teacher and prop models could be introduced without touching the gameplay that uses them.

Asset attribution

Attribution follows the project's own records: a model is credited to Meshy only where an imported Meshy job points at the registered asset, and to Claude where the creator recorded that the model was built with Claude's assistance.

Generated with Meshy inside Base44

  • Student 1 – 6 — the six playable characters
  • NPC 1 and NPC 2 — the campus classmates
  • Teacher 1 and Teacher 2 — the seated classroom teachers
  • Garden planting bed and plant stages 1 – 3
  • Trash prop and trash bin

3D assets created with Claude assistance

  • locker_unit_teal.glb, locker_unit_navy.glb and chair_office.glb — campus furniture

Custom locker and office-chair models created with Claude's assistance and imported into Novergate.

Built in code, and artwork

  • Campus buildings, interiors, grounds, paths, seating and markers are generated in the project's own code rather than imported as models.
  • The menu artwork, the loading artwork and the Novergate crest are the app's own approved artwork, uploaded to its storage.
  • Novergate: School Rush is created by Gladhex.

Current scope

Implemented and playable

  • Third-person campus exploration on one continuous map
  • Six playable students, naming, saved progress and Continue
  • A timed school day with three lessons, bells and attendance
  • Maths, biology and history papers, graded with XP and coins
  • Ten classmates, six members of staff, dialogue and seven errands
  • Student phone: planner, map, records, tasks, progress and the guide
  • Campus navigation with route guidance and a minimap
  • Library of nineteen titles with borrowing, reading and returns
  • Bicycle purchase, riding and parking
  • Coins, XP, levels, five ranks, daily objectives and achievements
  • Weekly tests, a term examination and the Excellence Challenge
  • Community Garden restoration, planting and harvesting
  • Litter collection, cafeteria meals and the end-of-day summary

Present but not yet playable

  • The Dance Studio and Music Room are shown as later restoration projects. They are locked and cannot be worked on yet.
  • The trash bin model is registered in the asset registry but has no placement in the world; litter is cleared by picking it up.

Not in this build

Anything not listed above — further facilities, later terms, multiplayer or voice work — is not part of the current game and is not presented as a feature.

Novergate: School Rush · Created by Gladhex · Built with Base44