4 ms·
I did a similar thing some time ago adding rigid body collisions on the asteroids, which makes the game way harder. https://github.com/santialbo/Asteroids http
by santialbo 12y ago
I did a similar thing some time ago adding rigid body collisions on the asteroids, which makes the game way harder.
https://github.com/santialbo/Asteroids https://github.com/santialbo/Asteroids
play here: https://rawgit.com/santialbo/Asteroids/master/default.htm https://rawgit.com/santialbo/Asteroids/master/default.htm
- JeffL 12y agoThat's a really cool version, but you need to give some invincibility when you respawn, otherwise one death can be equivalent to 2-3 if there happen to be asteroids in the middle area at the time.
- mturmon 12y agoIt was fun to look at your source code. About 600 lines. I really liked the arcade version of asteroids, so me and a friend wrote a version in PDP assembler for a class project. I wish I still had the source code, but let's just say it was not as compact (e.g., we had to do the video driver, random number generation, trig, etc.), and took a couple of weeks. Although the basic OO design is the same, which is cool.
- hamora 12y agoAsteroid collisions completely change the game! You also nailed that vintage look! Nice stuff! I'm diving into your source code for polygons in detail!