Skip to content

ThomasBurgess2000/boxcar

Repository files navigation

Boxcar

Drive a train!

You can always try the latest build here: https://thomasburgess2000.github.io/boxcar/.

Progress Photos

3/20/2024 image

3/01/2024 image

12/14/2023 image

Build

bun build ./index.ts --outdir ./build --watch

Run

bun --hot run server.ts

TODO:

  • Make perimetric LOD
  • Create new map data when the camera moves outside the current map
  • Fix tree spawning in the middle of tracks
  • make the trees generate/dispose as you move
  • Add walkable player using Havok physics
  • Dispose far away track
  • Be able to lower maxSubZ without terrain clipping through track and trees at wrong height (aspirational)
  • Make fog work with dynamic terrain shader
  • Make displacement/parallax occulusion map for terrain (does this require more detailed dynamic terrain?)
  • Get draco compressed glbs to load
  • figure out why startup is taking so long
  • Add wheels to train
  • Make chunked physics colliders for terrain (cannot be attached to terrain mesh directly otherwise it cannot move when the camera moves)
  • Clean up game.ts
  • Make larger map
  • Clean up dynamic terrain system (move params to component)
  • Add trees to the dynamic terrain

Credits

Thank you to Finn-nico/Koko for the PRR D16 model.

About

A cozy railroad game built with Babylon.js and Tick-Knock ECS.

Resources

Stars

Watchers

Forks

Languages