Skip to content

substepgames/three-jolt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

three-jolt

Game template using Three.js and Jolt physics

Stack

Features

  • Out of the box Three.js standard material renderer
  • Asset loading for (models, textures, audio)
  • Multithreaded Jolt physics engine setup
  • Physics debug overlay
  • Performance stats widget
  • Chart widget
  • Input (mouse & keyboard, game controller) handling
  • Orbital camera controls
  • Demo scene using every feature

Rationale

Most popular approach to indie game development is using full-blown game engines with:

  • built in 3D editor
  • visual scripting
  • workshop/marketplace integration
  • rigid pricing and licensing

Another common approach is to use game framework instead of game engine and try separating code that is specific to current game from code that can be nicely reused in other (subsequent) games. After a couple of years making prototype games for the web I decided to put useful additions I made under the same roof, being readily available for future work. This template will be updated with more stuff that will prove itself useful.

Writing these features from scratch takes days, but removing them takes seconds.

About

Game template using Three.js and Jolt physics

Topics

Resources

Stars

Watchers

Forks

Contributors