Skip to content

TolinSimpson/Three64

Repository files navigation

Three64 Engine

A lightweight Three.js-based engine with Ammo.js physics and a Blender-driven authoring workflow.

Default engine settings are set to emulate the Nintendo64's constraints.

This README is a quick-start. Full docs live in src/docs/pages/ and render directly on GitHub.

Features

  • Three.js renderer with scene/skybox management
  • Ammo.js physics (rigidbodies, raycasts)
  • AI navigation (navmesh + agent steering)
  • Character controller and locomotion
  • Event and input systems
  • UI system (HUD, stat bars)
  • Inventory and item framework
  • Particles and projectile utilities
  • Audio system
  • Loading screen and main/settings menus
  • Asset pipeline + Blender add-on/exporter

Requirements

  • Node.js 18+

Install

npm install

Develop (watch + live reload)

npm run dev
# open http://localhost:5173

Build (outputs to public/build)

npm run build

Serve static (no watch)

npm run serve
# then open http://localhost:5173/

Start relay server

node server.js
# then open two browser windows http://localhost:5173/?lan=true (Connects to localhost:8080)

Notes:

  • Production builds disable dev mode and do not include /public/docs.
  • Entry: src/runtime/engine.js → Output: public/build/runtime.js.

In development, press F1 for the debug overlay. An “Open Docs” button appears there (dev-only). Production builds keep dev features disabled.

Documentation

About

Game engine emulating Nintendo64 in three.js with Blender editor pipeline.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published