-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
930 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
#!/bin/bash | ||
#------------------------ | ||
SERIAL_ID=ttyACM0 | ||
APPID=connect_wires_2 | ||
FIRMWARE_DIR=~/Programming/Flipper/firmware/f0ReleaseFirmware | ||
SOURCE_DIR=~/Programming/Flipper/firmware/applications_user/$APPID/ | ||
#------------------------ | ||
# Reboot the device in case another application is running. | ||
clear | ||
echo "Rebooting Flipper..." | ||
# Send command directly to the Flipper over serial connection | ||
echo -en 'power reboot\r\n' >> /dev/$SERIAL_ID | ||
set -x | ||
cp -r $SOURCE_DIR $FIRMWARE_DIR/applications_user/ | ||
cd $FIRMWARE_DIR | ||
./fbt -c fap_$APPID | ||
./fbt fap_$APPID | ||
./fbt launch_app APPSRC=$APPID | ||
set +x | ||
echo "~/Programming/Flipper/firmware/flipper-application-catalog/applications/Tools/$APPID/manifest.yml" | ||
echo "1. Don't forget to update the commit_sha in the manifest for release, as well as the version info in application.fam" | ||
echo "2. Don't forget to create a new branch for the release." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 Andrew Diamond | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
One lined (row) version of a bit munching character being chased by a ghost. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# KC Line | ||
|
||
A one line/row version of the game where a character eats little bits and | ||
gets chased around the screen by a ghost. It's pretty obvious where the | ||
inspiration for this game came from, but if you have questions, hit me up | ||
on my Github page. | ||
|
||
Directions are pretty simple, use OK button to pause, left and right to | ||
navigate the player, back to exit. | ||
|
||
[Easy at beginning](screenshots/screenshot_1.png) | ||
[Died](screenshots/screenshot_2.png) | ||
[Harder as score higher](screenshots/screenshot_3.png) | ||
|
||
2024 Andrew Diamond | ||
Distributed under the MIT license. | ||
#### License | ||
[MIT](LICENSE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
App( | ||
# Foldername of the application | ||
appid="kcline", | ||
# name will be show on the Flip.x0 browser | ||
name="KC Line", | ||
apptype=FlipperAppType.EXTERNAL, | ||
# Main function (entry point) of the application | ||
entry_point="kcline_main", | ||
stack_size=4 * 1024, | ||
# Where the application will be stored into the Flip.x0 | ||
fap_category="Games", | ||
requires=["gui"], | ||
# Directory of applications image assets | ||
# If you want to insert images in your application, you have to specify the | ||
# directory of your image in the fap_icon_assets of your application.fam. | ||
# Then, include it as a header file like that: {app_id}_icon.h. For example, | ||
# if you want to include an image in your application example, you have to | ||
# put this in your code: | ||
# | ||
# include "example_icons.h" | ||
fap_icon="icons/kcline.png", | ||
fap_icon_assets="icons", | ||
# Optional values | ||
fap_version=(1, 0), | ||
fap_description="One line dot munching game!", | ||
fap_author="Andrew Diamond", | ||
fap_weburl="https://github.com/HappyAmos/", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
#------------------------ | ||
SERIAL_ID=ttyACM0 | ||
APPID=kcline | ||
FIRMWARE_DIR=~/Programming/Flipper/firmware/f0ReleaseFirmware | ||
SOURCE_DIR=~/Programming/Flipper/firmware/applications_user/$APPID/ | ||
#------------------------ | ||
# Reboot the device in case another application is running. | ||
clear | ||
echo "Rebooting Flipper..." | ||
# Send command directly to the Flipper over serial connection | ||
echo -en 'power reboot\r\n' >> /dev/$SERIAL_ID | ||
set -x | ||
cp -r $SOURCE_DIR $FIRMWARE_DIR/applications_user/ | ||
cd $FIRMWARE_DIR | ||
./fbt -c fap_$APPID | ||
./fbt fap_$APPID | ||
./fbt launch_app APPSRC=$APPID | ||
set +x | ||
echo "~/Programming/Flipper/firmware/flipper-application-catalog/applications/Tools/$APPID/manifest.yml" | ||
echo "1. Don't forget to update the commit_sha in the manifest for release, as well as the version info in application.fam" | ||
echo "2. Don't forget to create a new branch for the release." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v1.0 - Initial release |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.