Asteroids: By the Numbers (2019)
retrogamedeconstructionzone.com
retrogamedeconstructionzone.com
http://jcupitt.github.io/argh-steroids-webgl
It works on phone (touch to fire, hold to accelerate), desktop and also on my smart TV (use left/right/up/OK on the remote)!
Source code in the obvious place. The particle effects run on the GPU, which is fun.
If anyone knows how to fix the audio on phones, I'm all ears :(
[UPDATE]:
> Source code in the obvious place
For the benefit of other clueless people like me: https://github.com/jcupitt/argh-steroids-webgl
It has a couple of fun secret keys:
- hold "P" for slo-mo (handy for debugging)
- hold "I" for a debug display of object counts
- hold "S" during game start to spawn extra asteroids in the level
- press "N" to make all asteroids explode once (handy if you are bored of shooting gravel)
This part confused me:
Notice how the medium asteroid is twice the size of the small one, and the large is twice the size of the medium. If you think about it, this doesn't actually make much physical sense -- you can break a two-dimensional object into four pieces half its size, not two.
I'm looking at 2-dimensional objects on the table here, such as papers, and I just don't see how that is true. For instance split an A4 paper in half: you get two A5 papers, not four. By definition the size of an A5 is exactly half of an A4's size.
What am I missing?
This is the same for medium to small asteroids.
In the comparison image from one large to four small asteroid you can see the reduction in total area of the asteroids.