Level Generator and Fishes swims away


Added several features in this latest iteration. I really don’t want to scope creep on this little game project but I feel like it has to end somewhere.

Added Level Generator

Can’t really expect me to manually build different levels. So what I did was I added a Level Generator script. However, it seems to have only generated up to 3 times before the fishes stopped spawning. TODO: Fix that so it generates infinitely but adjust the difficulty multiplier to be harder after a certain level

Hunger Meter

I did not feel that there was enough challenge. So I introduced a hunger meter. Might add it as a way to tell a story of a growing and hungry fish. I’ve yet to figure out properly on how to make good looking UI. But that’s where I made the restart button. It looks better, sort of. Now the “Winner” image just clashes with everything. Definitely need to change that too. Stay consistent at least.

Fish swims away from Player

This one was tricky but after looking up several resources and with the help of AI, I was able to generate a separate script FoodFish.cs to swim away from the Player based on the position of it, the player fish and the distance between them. It… was OK. Like it did the job but the sprite was having a seizure when it’s not being chased. 😂

So probably in the next iteration, what is left to do is:

  1. Make a starting UI that allows the player to start the game and exit the game (very basic). Add that exit feature to the “Game Over” and possibly the “Winner” state too.
  2. Clean up on the UI (like that Winner image)
  3. Add a fish score in the UI that leads up to the “Winner” state.
  4. Make the fish grow and unable to eat bigger fishes (i.e. bigger fish will eat the player fish if player fish is smaller).
  5. Maybe, try and publish this game on my Google Play Store, because why not?

Leave a comment

Log in with itch.io to leave a comment.