فهرست منبع

Merge t_rex_runner from https://github.com/xMasterX/all-the-plugins

Willy-JL 2 سال پیش
والد
کامیت
52e75f9b27
5فایلهای تغییر یافته به همراه8 افزوده شده و 5 حذف شده
  1. 1 0
      t_rex_runner/README-catalog.md
  2. 5 1
      t_rex_runner/application.fam
  3. BIN
      t_rex_runner/img/1.png
  4. BIN
      t_rex_runner/img/2.png
  5. 2 4
      t_rex_runner/trexrunner.c

+ 1 - 0
t_rex_runner/README-catalog.md

@@ -0,0 +1 @@
+Your objective is to achieve the highest score possible by pressing the OK button at the precise moment. Be careful not to touch cactuses with the dinosaur, as doing so will result in losing the game.

+ 5 - 1
t_rex_runner/application.fam

@@ -8,6 +8,10 @@ App(
     stack_size=8 * 1024,
     fap_category="Games",
     fap_icon="trexrunner_icon.png",
-    fap_icon_assets="assets",  
+    fap_icon_assets="assets",
     order=36,
+    fap_author="@Rrycbarm",
+    fap_weburl="https://github.com/Rrycbarm/t-rex-runner",
+    fap_version="1.3",
+    fap_description="Play the port of the Chrome browser T-Rex game on your Flipper Zero.",
 )

BIN
t_rex_runner/img/1.png


BIN
t_rex_runner/img/2.png


+ 2 - 4
t_rex_runner/trexrunner.c

@@ -270,12 +270,10 @@ int32_t trexrunner_app() {
                     }
                 }
             }
-            // } else {
-            //     // event timeout
-            //     ;
         }
-        view_port_update(view_port);
+
         furi_mutex_release(game_state->mutex);
+        view_port_update(view_port);
     }
 
     view_port_enabled_set(view_port, false);