Skip to content

Space Invaders

Loading…

Beat-stepped alien fleet that drops and reverses at the walls and speeds up as it thins, single-rocket fire, bombs the player can shoot down, destructible bunkers, a bonus mothership, lives and waves.

Built for rung 5 of the 20 Games Challenge.

Controls: Left/Right or A D move, Space fire, R restart

Source: examples/space-invaders

Exercises: collision, cooldown, input, lifetime, math, motion, particles, render-canvas2d, spawner, tick, transform.