Posted October 09, 2020 by CurryGeyGey
#Update #DevLog
Game UIs
Finally! In this week's update, the main menu and in-game menu user interfaces are added to the game.
First, when player opens the game, instead of straight go into the game, there will be a starting menu screen shows up first. The player will able to select from 'Start Game', 'Settings', 'Helping Guide', and 'Quit'. The background of the starting menu is a moving camera with a random position and direction shows the in-game environments.
When player press the Setting or Helping Guide button, the UI menu will rotate to the content that the button player pressed.
Settings
For Settings menu, there is a volume slider that able to drag around to adjust the music volume level(music not implemented). The Back button will bring back to the main menu when pressed.
Helping Guide
For Helping Guide menu, a short explanation of how to play the game is displayed, player could find the basic guidelines about how to play the game. The Back button will bring back to the main menu when pressed.
Start Game
When the Start Game button is pressed, the screen will transition to white that covers all UI and screen then transitions to black, finally, it will fade to the game scene from the black screen.
In game Menu
Once the player in the game scene, player could press 'Escape' key to call out the in-game menu that also pauses the game, in-game time will freeze and the crop will stop its growth, also character will no longer able to control, press the 'Escape' key again to remove the in-game menu.
At in-game menu, player will be allowed to return back to the main menu by holding Quit button for a short time(All game progress will be removed if confirmed back to the main menu, so be aware). A short transition animation will be played once quit action is confirmed, the screen will be covered by black and return to main, similar as when joining the game.
Changes Made
Bug Fix
After many tests by different testers in the test section, a rare bug that hard to triggered normally has been found. When the Run and Interaction action keys are pressed at the exact same time, character's motion will freeze and no longer following any other controls. This has been fixed by delaying each action's duration time, basically means a short cool down after every action. When a new action key is pressed, the program will check if the current is not on any other's action cool down, the new action will be activated, otherwise, it wouldn't.
Further Plans