Today I created the Main Menu of my game! This is definitely not the final version of the Main Menu. I just added a text object for the game title and a sprite created using GDevelop's built-in pixel editor for the play button. I also created 2 more buttons for "Play Again" and "Main Menu" to appear after winning or losing a game. Now the remaining tasks are adding the player's health, making a small tutorial to play the game, and finally polishing the game. Less than 5 days left!
Today I tried to implement the health of the player but it didn't work. I couldn't figure out why. So I couldn't make much progress. But... I learned a cool feature in GDevelop. I haven't used the GDevelop asset store yet because the assets are too small. When I resize them, they are blurred. I asked about that from someone I met on Instagram (who uses GDevelop). He sent me a link to a YouTube tutorial explaining how to resize without being blurred. Then I searched the asset store and found a character for the farmer and a red apple. Both of them are pixel art. The character has 4 animations (Up, Down, Left, Right). So it is better because I previously had only 2 animations for Left and Right.
Today I started working on apples. They should be created on the scene endlessly and they should be deleted after a certain amount of time. To create apples, a timer should be used. I added a condition to reset a timer every 3 seconds and an action to create an apple at a random position. Then I previewed the game. The apples filled the screen in seconds!! 😂 The problem was I didn't restart the timer after creating an apple. Today I couldn't figure out the way to delete the apples the way I want.
Comments
Post a Comment