Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Day 3: Trust

No ball chasing today, sorry. I did manage to program an avoidance zone, where if the animal detects you in it, they will move away from you.

animal avoiding player

The idea was to decrease the size of their flight distance as their trust in you increases, and increase the size if their trust decreases. However, I had trouble getting the size of the avoidance zone to change at runtime, perhaps due to a bug or my own lack of knowledge, so a workaround might be to just toggle the zone on and off.

I also programmed the ability for the dog to follow you or anything on command, which they will stop doing if they are given another command or get distracted by something. Right now, the only thing that can distract them is the player getting too close, but in the future there may be other distractions.

animal following player until they get too close

I also added some new sprites and did some animation work. I guess I'm going for a minimalist look, using max 3 colors per sprite and not outlining any edges. The background and world will need new textures later on.

Tomorrow, the plan is to continue working on the AI for the animal and give the player object ways to interact with the animal. Maybe the promised ball throwing, but then again, maybe not.