Sen descrición

SimplyMinimal a2555237df Shorten Bullet TTL, Reorganize defines %!s(int64=3) %!d(string=hai) anos
binaries 9ce401b1f2 Binary file updated. %!s(int64=3) %!d(string=hai) anos
images b6d99d7a30 README updated. %!s(int64=3) %!d(string=hai) anos
LICENSE 596f77c042 First commit. Just draw ship. %!s(int64=3) %!d(string=hai) anos
README.md b2ee8e3a3c Other path fixed as well. %!s(int64=3) %!d(string=hai) anos
app.c a2555237df Shorten Bullet TTL, Reorganize defines %!s(int64=3) %!d(string=hai) anos
appicon.png 7437ec24e7 Application icon updated. %!s(int64=3) %!d(string=hai) anos
application.fam 6dbb6060ef More of the 2D engine. Bullets. %!s(int64=3) %!d(string=hai) anos

README.md

This is an implementation of the classic Asteroids game for the Flipper Zero. Inside you will find a simple 2D engine that can be reused to implement other games.

Controls:

  • Left/Right: rotate ship in the two directions.
  • Ok, short press: fire bullets.
  • Ok, long press: accelerate towards ship head.
  • Down: decelerates.

This is a screenshot, but the game looks a lot better in the device itself:

Asteroids for Flipper Zero screenshot

P.S. Don't miss the game over screen.

Installing the binary file (no build needed)

Drop the asteroids.fap file you can find in the binaries folder into the following Flipper Zero location:

/ext/apps/Games

The ext part means that we are in the SD card. So if you don't want to use the Android (or other) application to upload the file, you can just take out the SD card, insert it in your computer, copy the fine into apps/Games, and that's it.

Installing the app from source

  • Download the Flipper Zero dev kit and build it:

    mkdir -p ~/flipperZero/official/
    cd ~/flipperZero/official/
    git clone --recursive  https://github.com/flipperdevices/flipperzero-firmware.git  ./
    ./fbt
    
  • Copy this application folder in official/application_user.

  • Connect your Flipper via USB.

  • Build and install with: ./fbt launch_app APPSRC=asteroids.

License

BSD licensed. Enjoy.