Part:Minigame 3

Make a slider to indicate the progress. When the slider is at the end, if the mouse is still pressed, the game will fail. When the hand touches the cat, the game will succeed, and the corresponding UI will pop up to refresh the cat's information.


Question:

The second time to play, because the data is not reset, resulting in a normal game


Solution:

Write a method to reset the game data, and call it once when shutting down the game, to reset the data, and ensure that the game can run indefinitely.


Test feedback:

The slider has no color representation, which is not visually obvious and has low playability



评论

此博客中的热门博文

Part:Game export