I had an idea for a game, but found myself focusing exclusively on the foundations during the start of development, so I decided to publish the foundations as a game / sim / demo / tutorial in their own right.
Demo is here: http://www.socket-two.com/main/resource/hdoc
Open repo is here: https://bitbucket.org/teamkohloth/hdos/src/master/
It features:
- A custom environment-collision system without the use of a full physics engine.
- A set of classes that abstract keyboard, mouse, and gamepad input into a single API.
- An abstraction around the ThreeJS asset loader that makes loading sounds, textures and meshes very easy for lazy people (like me)
- A basic redux-like store system for managing events and some game state.
Hope some of you like it!