Quick and Easy Animation State Handling in Godot Engine
У вашего броузера проблема в совместимости с HTML5
A quick and simple way to handle your own animation states for playing multiple animations in queue.
00:07 - Setting up the main scene
00:25 - Adding Sprite
00:42 - Adding the AnimationPlayer
01:01 - Creating three animations
02:35 - Tip about looping animation
02:53 - Scripting the Animation State
03:01 - Using enum
03:27 - Connect signal with the AnimationPlayer
04:27 - Adding anim_state variable
04:49 - Why we use enum
05:01 - Adding func on_anim_finished()
06:24 - Explaining how the animation state runs
06:35 - Playing the animation
06:51 - Storing get_node to a var
07:13 - Setting the anim_state back to null
Project Files ► https://mega.nz/#!Uc0V1YaZ!rcXi-kynFN1pFXS2sdMJMB61-YfgWGQtLdJ-5VeaHsw
Contact Information:
My Web-Site ► http://ivanskodje.com
Twitter ► https://twitter.com/IvanSkodje
Twitch ► http://twitch.tv/tybobobo
Vidme ► https://vid.me/IvanSkodje
GitHub ► https://github.com/Tybobobo
Background music provided by Teknoaxe:
► https://youtu.be/Tbk2LUDZ5T8