Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

DAY -6

PLAYER DIE ON COLLISION WITH FISH

If the fish collides with the player, the player restarts in another location

ADAPTED THE FISH MOVEMENT

Yesterday, I made the fish change direction by using OnTrigger events. (I am working in Unity)

Today, I eliminated the OnTrigger event and manually made the fish change direction by using a distance limit. I did this because I do not want the player to collide with the fish. This way I can use this same script and implement it on other NPCs that do not kill the player inmediately, but rather just reduce the player's  life.

TOMORROW

Player Colors: Player's color reflects how much life the player has. Player flashes in another color if harmed.