mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-17 15:40:20 +02:00
Start of animation player state mashine
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
extends "res://Boss/SlimeBoss/States/Motion/MotionState.gd"
|
||||
extends "res://Overlap/StateMachine/MotionState.gd"
|
||||
|
||||
func enter():
|
||||
owner.get_node("AnimationPlayer").play("MoveDown") # TODO: Replace animation
|
||||
@@ -9,4 +9,5 @@ func handle_input(event):
|
||||
func update(delta):
|
||||
var input_direction = get_input_direction()
|
||||
if input_direction:
|
||||
emit_signal("finished", "move")
|
||||
# emit_signal("finished", "move")
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user