kidscancode / Godot3_dodge

"Dodge the Creeps!" Godot Engine 3.0 "getting started" game demonstrating the basics.
MIT License
90 stars 30 forks source link

Mob animation not used #2

Closed NikoWil closed 6 years ago

NikoWil commented 6 years ago

In Mob.gd the function

func _process(delta): $AnimatedSprite.play()

is missing. As the guide stands the mobs have an animation but it's simply not played. Thank you for the introductory guide :)

MahtanSirfalas commented 6 years ago

Did you activated the playing setting in animated sprite properties?

cbscribe commented 6 years ago

As @MahtanSirfalas says, you don't need to do this in code. Click the "Playing" property in the Inspector.