AztecGameLab / LongTermGame8

2 stars 1 forks source link

Ester Stalking Effect #11

Closed poetahto closed 6 months ago

poetahto commented 7 months ago

Team

[not on github] Shaun (Champ) - Programmer @0Arkadias0 - Artist

Description

Ester is a character that follows you at a distance throughout the prototype. They are shy, and are curious about you but wants to keep a safe distance.

Instead of letting this character freely wander around behind you, we are going to use "Hiding Spots" that are just Transforms that the level designers place around the world. Ester should have an "appearing" and "disappearing" animation for when they move between hiding spots. It would be cool to play a "shocked" or exclamation mark emote when Ester runs away to a distant hiding spot.

The logic looks something like this: inside some "controller" component, maintain a list of transforms that is all the hiding spots in the world. Every frame or so, sort the hiding spots by their distance from the player. Ester would try and move to the 2nd nearest hiding spot (we could also change this to 3rd or 4th depending on how far you are in the level).

Goals

Resources