ypaaf / you-play-as-a-frog

https://ypaaf.pages.dev/
0 stars 0 forks source link

Fix death animations not triggering when slippy #21

Closed qwertyuiopwm closed 4 months ago

qwertyuiopwm commented 4 months ago

So to fix this, you need to add a check for if the heath is <= 0 on all functions that play an animation besides on_death, such as _physics_process

See grub.gd for an example.

qwertyuiopwm commented 4 months ago

Not all of the enemies are fixed, only the ones I tested to be broken.

Oshawhaat commented 4 months ago

It looks like every non-flying enemy already has this, is this task done?