SimplyMinimal / FlipperZero-Asteroids

Asteroids for Flipper Zero

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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. Note: This one is SimplyMinimal's fork of Antirez's version with several modifications.

What's New

  • Auto rapid fire (less wear on the buttons this way too)
  • Up button applies thrusters
  • Haptic feedback and LED effects
  • Power up system
  • High Score system
  • Automatic save and load of high score
  • Ability to Pause
  • Some modifications to certain game play elements

What's coming next

  • Settings screen
  • Enabling sound effects (configurable on/off option)
  • Power Ups Improved power up management

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

Asteroids for Flipper Zero screenshot

Pause Screen

Controls:

  • Left/Right: rotate ship in the two directions.
  • Ok, short press: Short burst bullets
  • Ok, long press: Auto-fire bullets
  • Up: Accelerate
  • Down: Decelerate
  • Back (Short Press): Pause game
  • Back (Long Press): Exit game. It will automatically save the high scoore too.

Your high scores will automatically be saved. Go forth and compete!


Power Ups

  • - Machine gun fire. Press and hold OK button to fire more than the default 5 bullets
  • - Et tu, Brute? Gives a bonus life up to a maximum of 5 lives
  • - Nuke (work in progress). Destroys everything in sight (but keeps the power ups)
  • - Use the force! Spins up a shield that can be used as a battering ram. Take zero damage while in use.

More power ups coming soon...


Installing the binary file (no build needed)

Go to the releases and drop the asteroids.fap file 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.

About

Asteroids for Flipper Zero

License:BSD 2-Clause "Simplified" License


Languages

Language:C 100.0%