Fruit fall
- 9 Devlogs
- 12 Total hours
I am making a game about catching fruits falling from a tree and avoiding bombs. The game is made in vs studio with c++
I am making a game about catching fruits falling from a tree and avoiding bombs. The game is made in vs studio with c++
Devlog 9: I finished the game! I made it so that the game get’s a bit harder as you progress - the fruits fall faster. I also decided that a new menu variant simply isn’t needed since there are not that many buttons. i also don’t really know what game to do next :) Those changes have been added to github as v2.0.0
Devlog 8: I started updating the game. First of all i added 2 more apple variants: green and yellow. The red one only adds points, the yellow one adds 2 points instead of 1, and the yellow one adds a heart and 5 points.They are still not added on github :] I also had a small bug where if the health went over 4 it displayed an empty health bar.
Devlog 7:
I think this is the last devlog before the first version releases. The game was a bit too easy before so i made it so that you no longer can move the basket across the whole screen, only left or right. Also, i noticed there was a bug where all the bombs would spawn on the right and the apples on the left and i had to debug that for a while - it turns out it was a problem with the generating functions because all of them used the same seed.
Devlog 6:
Almost finished the entire game. i added a custom font to display the score. I added the stats page which displays the highscore and the number of games played. I also added an intro music and did some debugging: when you entered the stats page the stats would reset - it turned out to be the placement of the reset button. Instead of changing it, I added a timer that doesn’t let you reset the stats in the first second you are in the stats page. I thought i finished the game, but as i was playtesting it i discovered some bugs. After i solve them, the game would be ready for release :)
Edit: I finally finished the game and it seems that there are no bugs:
There were 3:
-I made it so that after an apple falls on the ground you lose a heart, but, because the game waited for the health to reach less than 0, the game wouldn’t end as soon as you reached 0 health
-The health bar wouldn’t reset after a game because i forgot to reset it
-When a round ended, the wait timer triggered twice so you couldn’t play imidiately and the fruits would remain in the same position as before at the start of the new round - these 2 needed only minor code tweaks
Here are some photos:
Devlog 5: I almost finished the gameplay :] Now, the fruit/bomb get’s deleted when touching the ground or the basket. I also added a health bar and if you catch a bomb you lose a heart. If you lose all of them you lose. I encountered a bug where the game would delete 2 fruits even if you caught only one. Next i will add a score counter, and the stats page.
Devlog4: Started working on the gameplay: a random object spawns - a fruit or a bomb. They spawn at a random position at the top of the screen and fall towards the ground. I had a lot of trouble with the spawning :( and did a lot of debugging. Next, i will detect when the player catches an object and delete it.
Devlog 3: I finally finished the menu(i added a button to turn off/on the music)! Also i started working on the gameplay: i drew the background and added a basket texture that will appear instead of the mouse’s arrow and made the start button functional.Next i will finish the gameplay :)
Devlog 2:
I almost finished the menu. I drew the background image for it(you can see a timelapse down in the video), added the buttons: the play one(doesn’t work), stats one(also doesn’t work), exit(this one actually works, as well as the next ones), one that redirects you to a form to give feedback about the game and one that redirects you to my github profile to check out other games.
The hardest part was adding the 2 buttons that redirect you since the procedure differs depending on OS(operating system if you didn’t know). To solve that i made a function that (theoretically) detect which OS the device is runnig and that adjusts the command, tho i could only test it for windows and it works correctly.
Also i spent some time debugging the code because the background image wouldn’t show up - it turns out i set the origin wrong :|.
Devlog 1: I have started a new game : Fruit fall. The idea is simple: you have to catch as many falling fruits as you can. If you catch a bomb or let a fruit fall to the ground you lose a heart. If you lose 3 hearts you lose. For the first day i did an intro screen that will play for the first 3 times you enter the game. The intro screen show what you see below and the fades away. Tommorow i will create the menu and some functions. Also i will try to post the journey on youtube. This is the channel: https://www.youtube.com/@Violentshrimpproductions