Top-down 2D tile engine with infinite terrain generation (JavaScript)
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)
W
ForwardA
Strafe LeftS
BackwardD
Strafe RightSHIFT
Hold to runMOUSE
Look aroundMWHEEL
Change weaponLMB
Shoot/Action1
Toggle tile overlay2
Toggle chunk overlay3
Toggle data overlay7
Toggle cheat mode (noclip, speedup, disable stats)8
Toggle metadata and bounding overlays9
Toggle UIGame config is located in main.js
Engine config is located in config.js
You can supply these arguments in the URL:
seed
Seed stringx
Starting X positiony
Starting Y positionExample: ?seed=foo&x=1000
You can see it in action on my YouTube channel
Lots of stuff...