Journal Entry 4 - Final Words


Implementation

First some words on the implementation. I ended up with 3 types of enemies: A melee fighter, a lion and an archer. The first two are basically the same just with different speed, hitboxes and health. They follow the player around and hurt him on collision. The archer on the other hand is stationary and fires projectiles toward the player. These arrows can be reflected using your nose and while normal arrows only hurt you, reflected arrows can also hurt enemies! This was surprisingly easy to implement by just changing the layer the arrows are in. 

Next I figured that instead of levels I will stick to the original game design and stay in the one arena. Instead of levels you will face waves of enemies. I placed 4 spawners and wired them up together so they spawn enemies at the same time. Each spawner has a set of enemies that it should spawn on a specific wave as well as intervals specifying how often a new enemy should spawn. 

This is probably a good time to mention how your health works. If you slay an enemy, your nose grows according to their value. If you get hit by an enemy, your nose shrinks by the amount of damage they do. If your nose gets too small, you lose. 

Since archers are stacionary it sometimes happened your nose was too small to reach them at their ledges. I resolved this by not only starting the next wave after it has been cleared, but  if you dont clear the wave in a set amount of time, the next wave starts and its going to be even harder because enemies do not despawn. A similar problem could occur at the end of the game, where your nose was too small to climb to the top so I made the last wave repeat infinitely, which will either  kill you or you do well enough that you can win the game. 

Oh and yeah you win the game by climbing to the top of the level using your nose and poking the king that imprisoned you. The platforms are Far apart so you will have to fight in the arena and grow your nose before you can finish. If you do really well you can reach the king at about wave 4.

The one big problem I ran into was that everything sometimes started clipping with everything else. For that I will just leave this here

NOTE: When working with rigidbodies, don't use the transform to move them :p.

Artwork

All of the sprites in the game were made by me :P. After starting I remembered that Im not an artist at all so they look like what they look like. I don't really like how they turned out(except for the lion, that one I think is perfect :D) but its whatever they serve the purpose.

Final Words

When I started this project I was worried the 30 hours will not be enough for the game I envisioned. But in the end it was the opposite. I ended up with about 10 hours to spare. I spent that by tweaking the game, drawing the art and trying to fix the general clunkyness. The end result is in my opinion OK. It looked a lot better in my head and some of ideas didnt work out as planned but hey, it was never going to be that easy :p. 

Files

FinalVersion.zip 20 MB
Sep 21, 2021

Get Pinokio's Redemption

Leave a comment

Log in with itch.io to leave a comment.