Jelajahi Sumber

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

Willy-JL 2 tahun lalu
induk
melakukan
52e75f9b27
5 mengubah file dengan 8 tambahan dan 5 penghapusan
  1. 1 0
      t_rex_runner/README-catalog.md
  2. 5 1
      t_rex_runner/application.fam
  3. TEMPAT SAMPAH
      t_rex_runner/img/1.png
  4. TEMPAT SAMPAH
      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,
     stack_size=8 * 1024,
     fap_category="Games",
     fap_category="Games",
     fap_icon="trexrunner_icon.png",
     fap_icon="trexrunner_icon.png",
-    fap_icon_assets="assets",  
+    fap_icon_assets="assets",
     order=36,
     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.",
 )
 )

TEMPAT SAMPAH
t_rex_runner/img/1.png


TEMPAT SAMPAH
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);
         furi_mutex_release(game_state->mutex);
+        view_port_update(view_port);
     }
     }
 
 
     view_port_enabled_set(view_port, false);
     view_port_enabled_set(view_port, false);