Asteroids game written in x86 nasm assembly
- Spaceship movement and rendering
- Bullet shooting and rendering (from bullet pool)
- Asteroid rendering and movement
- Asteroids generation
- Asteroid explosion effect
- Collision detection (with ship)
- Maybe some simple ui
- nasm
- sdl2 + sdl2_image
$ ./build.sh
- or manually, build with nasm and link math lib, SDL2 and SDL2_image
Key | Action |
---|---|
W | Move forward |
A | Rotate left |
D | Rotate right |
Space | Shoot |
- Game should run at 60 fps.. or game speed may vary.. (messing with delta time didn't work well :c )