add all files
This commit is contained in:
parent
feb5df41ea
commit
371bda867d
34 changed files with 1875 additions and 14 deletions
14
Scripts/HelenController.gd
Normal file
14
Scripts/HelenController.gd
Normal file
|
@ -0,0 +1,14 @@
|
|||
extends Node3D
|
||||
|
||||
var animation_player
|
||||
|
||||
func _ready():
|
||||
animation_player = $AnimationPlayer
|
||||
|
||||
func _movement_in(movement, rate):
|
||||
animation_player.speed_scale = rate
|
||||
animation_player.play(movement)
|
||||
|
||||
func _movement_out(movement, rate):
|
||||
animation_player.speed_scale = rate
|
||||
animation_player.play_backwards(movement)
|
Loading…
Add table
Add a link
Reference in a new issue