4 ms·
Thanks! Collisions/physics are handled by box2dweb, using a 2D greedy mesher to simplify the grid into quads: https://github.com/hughsk/continuous-box2d https:/
by hughsk 13y ago
Thanks! Collisions/physics are handled by box2dweb, using a 2D greedy mesher to simplify the grid into quads: https://github.com/hughsk/continuous-box2d https://github.com/hughsk/continuous-box2d
The terrain is a mix of a cellular automaton (https://github.com/hughsk/cave-automata-2d https://github.com/hughsk/cave-automata-2d) with a bit of perlin noise to fill in the gaps :)