Asteroids, built with Compose for Desktop

Want to learn how I built it?

Read the two-part article in which I describe the most interesting parts of this project.

asteroids-compose-for-desktop is a basic experiment of building a 2D space game on top of Compose for Desktop. 🚀 Run with ./gradlew run. Feel free to explore, and enjoy! 🌕

Screenshot of the game

  • First change use the spacebar to shoot

  • Adding controls to speed up and slow down the ship

  • Added graphics from opengameart.org artists

  • Added points

  • Added energy

  • Added interface Animable

  • Added animations rocket

  • For the background: Westbeam

  • For the rest of the graphics Kenney Space Shooter art pac

Graphics now

Now