暫無描述

antirez 9ce401b1f2 Binary file updated. 3 年之前
binaries 9ce401b1f2 Binary file updated. 3 年之前
images b6d99d7a30 README updated. 3 年之前
LICENSE 596f77c042 First commit. Just draw ship. 3 年之前
README.md 9ce401b1f2 Binary file updated. 3 年之前
app.c cd817d0880 Ship controls improved. 3 年之前
appicon.png 7437ec24e7 Application icon updated. 3 年之前
application.fam 6dbb6060ef More of the 2D engine. Bullets. 3 年之前

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/Tools

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/Tools, 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.