Skip to content

adaxiik/asteroids-asm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asteroids-asm

Asteroids game written in x86 nasm assembly

Example

example

Current state

  • Spaceship movement and rendering
  • Bullet shooting and rendering (from bullet pool)
  • Asteroid rendering and movement
  • Asteroids generation
  • Asteroid explosion effect

Future plans

  • Collision detection (with ship)
  • Maybe some simple ui

Dependencies

  • nasm
  • sdl2 + sdl2_image

Build

$ ./build.sh
  • or manually, build with nasm and link math lib, SDL2 and SDL2_image

Controls

Key Action
W Move forward
A Rotate left
D Rotate right
Space Shoot

Assets

Resources

Note

  • Game should run at 60 fps.. or game speed may vary.. (messing with delta time didn't work well :c )

About

Asteroids game written in nasm assembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published