mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-13 14:02:23 +02:00
First changes
This commit is contained in:
@@ -102,6 +102,16 @@ func movement_roll():
|
||||
velocity = rollvector * ROLL_SPEED
|
||||
animation_state.travel("roll")
|
||||
|
||||
"""
|
||||
# Roll.gd
|
||||
func enter():
|
||||
owner.animation_state.travel("roll")
|
||||
|
||||
func update():
|
||||
owner.velocity = rollvector * ROLL_SPEED
|
||||
"""
|
||||
|
||||
|
||||
func roll_finished():
|
||||
movementState = moveState.MOVE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user