Re:Ask HN: The Ludum Dare 27 Entries of HNers
by willvarfar on Thursday August 29, 2013 @04:38AM
(#6294882)
Voting link?
http://www.ludumdare.com/compo/ludum-dare-27/?action=preview...
I found it on the LD site, but others might not.
Lovely Perlin? How how do you do the collisions exactly?
Re:Ask HN: The Ludum Dare 27 Entries of HNers
by hughsk on Thursday August 29, 2013 @05:51AM
(#6295040)
Thanks! Collisions/physics are handled by box2dweb, using a 2D greedy mesher to simplify the grid into quads: https://github.com/hughsk/continuous-box2d
The terrain is a mix of a cellular automaton (https://github.com/hughsk/cave-automata-2d) with a bit of perlin noise to fill in the gaps :)
All JS, using browserify and a bunch of modules but no framework :)