3 ms·
This is great! About 6 years ago I created a worms destructible terrain using canvas. Still up on my website all these years later, no promises on code quality
by jastanton 9y ago
This is great! About 6 years ago I created a worms destructible terrain using canvas. Still up on my website all these years later, no promises on code quality though :)
http://jastanton.com/experiments/Destructible-Terrain/ http://jastanton.com/experiments/Destructible-Terrain/
- etaioinshrdlu 9y agoMy unfinished clone: https://kmbaragona.gitlab.io/volley/ https://kmbaragona.gitlab.io/volley/ WebGL (three.js) based. Keyboard input, arrow keys + space to fire. (no use on any mobile device) Terrain operations are done on vector svg-like objects, not pixels or polygons. Physics is also done in vector space. Terrain is converted to polygons just before rendering. Was kind of fun :) With the right terrain the physics let you drive your tank round and round in a loop with centripetal force.