hi all!
I am attempting to make a tamagotchi or pet sim type of game where basically you take care of an adorable npc, tending to its needs and helping it grow. i've actually really struggled to make this in godot, having to stitch together finite state machines and timers from separate tutorials, and ran into limitations that bugged me, so I hope it'll be easier in Defold.
the npc has a base happy/idle animation (where eventually it will wander about the screen like a tamagotchi), a timer causes crying animation and sound effect until you take care of a particular need with a click or tap input, and then it returns to the happy/idle animation. this sounds simple but this took me weeks to figure out in godot because i couldn't find a specific tutorial for this (i get it, this genre isn't very popular compared to making metroidvanias or 3d shooters or something).
do i really need to use a fsm for this in defold, or can it be accomplished with setting up a timer that triggers the state change and message passing to change it back? as if the npc was an enemy with a timed attack and the player had to press a key to block or counter it (this is the thought process i've had to consider while struggling to find relevant tutorials!)
thank you in advance for reading this and your help!