Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 :)



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: