mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-14 14:22:23 +02:00
swicth animation to change scene
This commit is contained in:
@@ -203,4 +203,4 @@ func movement_run(direction, delta):
|
|||||||
func movement_idle():
|
func movement_idle():
|
||||||
movementState = moveState.IDLE
|
movementState = moveState.IDLE
|
||||||
velocity = Vector2.ZERO
|
velocity = Vector2.ZERO
|
||||||
animation_state.travel("idle")
|
animation_state.change_scene("idle")
|
||||||
|
|||||||
@@ -637,7 +637,7 @@ scale = Vector2( 0.5, 0.5 )
|
|||||||
texture = ExtResource( 2 )
|
texture = ExtResource( 2 )
|
||||||
offset = Vector2( 0, -18 )
|
offset = Vector2( 0, -18 )
|
||||||
hframes = 60
|
hframes = 60
|
||||||
frame = 7
|
frame = 9
|
||||||
|
|
||||||
[node name="Body" type="CollisionShape2D" parent="."]
|
[node name="Body" type="CollisionShape2D" parent="."]
|
||||||
position = Vector2( 0.0107212, 0.0456073 )
|
position = Vector2( 0.0107212, 0.0456073 )
|
||||||
|
|||||||
Reference in New Issue
Block a user