this post was submitted on 12 Sep 2023
1182 points (99.0% liked)
Game Development
2814 readers
21 users here now
Welcome to the game development community! This is a place to talk about and post anything related to the field of game development.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Be sure to learn how to harness the power of the AnimationPlayer node. You can make function calls and all sorts of property changes at key points of any animation. So, instead of writing code to check if a certain animation has begun and doing something, you can just call a function at 0.0 (start) of that animation. I'm doing this to spawn projectiles from a bow shooting enemy, it works like a charm.