Top-down 2D tile based game engnine with infinite procedural chunk generation using only browser JavaScript.
This is just an experiment and not complete in any way
Just clone and open index.html in your browser.
Latest Chrome and Firefox works fine (Chrome has better performance)
WForwardAStrafe LeftSBackwardDStrafe RightSHIFTHold to runMOUSELook aroundMWHEELChange weaponLMBShoot/Action
1Toggle tile overlay2Toggle chunk overlay3Toggle data overlay7Toggle cheat mode (noclip, speedup, disable stats)8Toggle metadata and bounding overlays9Toggle UI
Game config is located in main.js
Engine config is located in config.js
You can supply these arguments in the URL:
seedSeed stringxStarting X positionyStarting Y position
Example: ?seed=foo&x=1000
- Infinite 2D procedural tile generation using Perlin and Simplex noise
- Map Generation using seeds
- Chunk/Region based rendering
- Character controls and weapons
- Collision detection
- Animations
You can see it in action on my YouTube channel
Lots of stuff...