Game project template for Flipper Zero
Template for a Flipper Zero game with the minimum required structure, resources and methods.
How To
Getting started
- Clone the Flipper Zero firmware repository from the following link: flipperzero-firmware another firmware that you use (firmware list can be found here awesome-flipperzero).
- In the
applications_user
directory, create a symbolic link named game_app (or any other desired name) that points to this repository. - Compile firmware by running the command
./fbt
in a terminal.
Customization
To customize the game, open the project folder in Visual Studio Code and edit the application.fam
file.
In this file, you can change the appid
filed (which should be unique and not contain any whitespace characters) and the name
field, which is the name that will be displayed in the Flipper menu.
Once the game is ready to be compiled, you have two options:
Compiling option 1
- Compile by running
./fbt __your_app_id__
, e.g../fbt game_app
- Copy
build/f7-firmware-D/.extapps/__your_app_id__.fap
to apps/Games on the SD card or by qFlipper app.
Compiling option 2
- Connect the Flipper device to your computer via USB
- Run the command
./fbt launch_app APPSRC=__your_app_id__
(e.g../fbt launch_app APPSRC=game_app
). This will compile and launch the game on the device automatically.