Brak opisu

antirez 4a49e0458c Prep for automated build system 3 lat temu
images b6d99d7a30 README updated. 3 lat temu
.editorconfig 0beaa3f47f update .gitignore and add .editorconfig 3 lat temu
.gitignore 0beaa3f47f update .gitignore and add .editorconfig 3 lat temu
LICENSE 596f77c042 First commit. Just draw ship. 3 lat temu
README.md 9ea751f9e6 Update ReadMe 3 lat temu
app.c 5829369a85 Added auto save/load game state to save high score 3 lat temu
appicon.png 7437ec24e7 Application icon updated. 3 lat temu
application.fam 6dbb6060ef More of the 2D engine. Bullets. 3 lat temu

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: Short burst bullets
  • Ok, long press: Auto-fire bullets
  • Up: accelerate
  • 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.