Просмотр исходного кода

update changelog/readme and fix typo

jblanked 1 год назад
Родитель
Сommit
fe3f484af5
5 измененных файлов с 20 добавлено и 9 удалено
  1. 5 2
      README.md
  2. 9 3
      assets/CHANGELOG.md
  3. 5 2
      assets/README.md
  4. 1 1
      game/game.c
  5. 0 1
      game/player.h

+ 5 - 2
README.md

@@ -15,7 +15,7 @@ FlipWorld and FlipSocial are connected. Your login information is the same in bo
 
 
 - **WiFi**: Enter your SSID and password to connect to your 2.4 GHz network.
 - **WiFi**: Enter your SSID and password to connect to your 2.4 GHz network.
 - **User**: Add or update your username and password (this is the same login information as your FlipSocial account).
 - **User**: Add or update your username and password (this is the same login information as your FlipSocial account).
-- **Game**: Install the Official World Pack, set your FPS (30, 60, 120, or 240), and select whether you want the screen backlight to always be on, the sound to be on, and the vibration to be on.
+- **Game**: Install the Official World Pack, choose your weapon, set your FPS (30, 60, 120, or 240), and select whether you want the screen backlight to always be on, the sound to be on, and the vibration to be on.
 
 
 **Controls**
 **Controls**
 
 
@@ -23,7 +23,10 @@ FlipWorld and FlipSocial are connected. Your login information is the same in bo
 - **Press/Hold RIGHT**: Turn right if not already facing right, then walk right if the button is still pressed.
 - **Press/Hold RIGHT**: Turn right if not already facing right, then walk right if the button is still pressed.
 - **Press/Hold UP**: Walk up.
 - **Press/Hold UP**: Walk up.
 - **Press/Hold DOWN**: Walk down.
 - **Press/Hold DOWN**: Walk down.
-- **Press/Hold OK**: Attack/Teleport (set to attack until all enemies are defeated).
+- **Press OK**: Attack/Teleport (set to attack until all enemies are defeated).
+- **HOLD OK**: In-Game Menu.
+- **Press BACK**: Leave the menu.
+- **HOLD BACK**: Exit the game.
 
 
 **Player Attributes**
 **Player Attributes**
 
 

+ 9 - 3
assets/CHANGELOG.md

@@ -1,10 +1,16 @@
-**0.3 (2025-01-14)**
+## 0.4 (2025-01-17)
+- Added an In-Game menu.
+- Added New controls (HOLD OK to access the In-Game menu, PRESS BACK to exit the menu, and HOLD BACK to leave the game).
+- Added option to choose player weapon in the Game Settings.
+- Added transition icon for switching worlds.
+
+## 0.3 (2025-01-14)
 - Added new worlds.
 - Added new worlds.
 - Improved memory allocation.
 - Improved memory allocation.
 - Updated API integration to load and save player attributes.
 - Updated API integration to load and save player attributes.
 - Upgraded FlipperHTTP to the latest version.
 - Upgraded FlipperHTTP to the latest version.
 
 
-**0.2 (2025-01-02)**
+## 0.2 (2025-01-02)
 - Added support for the Video Game Module (requires a FlipperHTTP flash).
 - Added support for the Video Game Module (requires a FlipperHTTP flash).
 - Introduced various enemy types to enhance gameplay.
 - Introduced various enemy types to enhance gameplay.
 - Added features for player health, XP, level, health regeneration, attack, and strength.
 - Added features for player health, XP, level, health regeneration, attack, and strength.
@@ -16,5 +22,5 @@
 - Improved collision mechanics for more accurate interactions.
 - Improved collision mechanics for more accurate interactions.
 - Updated the default icon representing the player's character.
 - Updated the default icon representing the player's character.
 
 
-**0.1 (2024-12-21)**
+## 0.1 (2024-12-21)
 - Initial release.
 - Initial release.

+ 5 - 2
assets/README.md

@@ -13,7 +13,7 @@ FlipWorld and FlipSocial are connected. Your login information is the same in bo
 
 
 - **WiFi**: Enter your SSID and password to connect to your 2.4 GHz network.
 - **WiFi**: Enter your SSID and password to connect to your 2.4 GHz network.
 - **User**: Add or update your username and password (this is the same login information as your FlipSocial account).
 - **User**: Add or update your username and password (this is the same login information as your FlipSocial account).
-- **Game**: Install the Official World Pack, set your FPS (30, 60, 120, or 240), and select whether you want the screen backlight to always be on, the sound to be on, and the vibration to be on.
+- **Game**: Install the Official World Pack, choose your weapon, set your FPS (30, 60, 120, or 240), and select whether you want the screen backlight to always be on, the sound to be on, and the vibration to be on.
 
 
 **Controls**
 **Controls**
 
 
@@ -21,7 +21,10 @@ FlipWorld and FlipSocial are connected. Your login information is the same in bo
 - **Press/Hold RIGHT**: Turn right if not already facing right, then walk right if the button is still pressed.
 - **Press/Hold RIGHT**: Turn right if not already facing right, then walk right if the button is still pressed.
 - **Press/Hold UP**: Walk up.
 - **Press/Hold UP**: Walk up.
 - **Press/Hold DOWN**: Walk down.
 - **Press/Hold DOWN**: Walk down.
-- **Press/Hold OK**: Attack/Teleport (set to attack until all enemies are defeated).
+- **Press OK**: Attack/Teleport (set to attack until all enemies are defeated).
+- **HOLD OK**: In-Game Menu.
+- **Press BACK**: Leave the menu.
+- **HOLD BACK**: Exit the game.
 
 
 **Player Attributes**
 **Player Attributes**
 
 

+ 1 - 1
game/game.c

@@ -72,7 +72,7 @@ static void game_stop(void *ctx)
         FURI_LOG_I("Game", "Game ending");
         FURI_LOG_I("Game", "Game ending");
         if (!game_context->ended_early)
         if (!game_context->ended_early)
         {
         {
-            easy_flipper_dialog("Game Over", "Thanks for playing Flip World!\nHit BACK then wait for\nthe game to save.");
+            easy_flipper_dialog("Game Over", "Thanks for playing FlipWorld!\nHit BACK then wait for\nthe game to save.");
         }
         }
         else
         else
         {
         {

+ 0 - 1
game/player.h

@@ -65,7 +65,6 @@ typedef struct
     //
     //
     uint32_t elapsed_button_timer;
     uint32_t elapsed_button_timer;
     uint32_t last_button;
     uint32_t last_button;
-    uint32_t button_cooldown;
 } GameContext;
 } GameContext;
 
 
 typedef struct
 typedef struct