this post was submitted on 12 Sep 2023
1233 points (99.0% liked)
Game Development
3449 readers
1 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 1 year 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.