initial commit
This commit is contained in:
commit
fe3761d448
122 changed files with 3439 additions and 0 deletions
12
Game/Player/scripts/Dash.gd
Normal file
12
Game/Player/scripts/Dash.gd
Normal file
|
@ -0,0 +1,12 @@
|
|||
extends Node2D
|
||||
|
||||
@onready var timer : Timer = $Timer
|
||||
|
||||
|
||||
func start_dash(dur):
|
||||
timer.wait_time = dur
|
||||
timer.start()
|
||||
|
||||
func is_dashing():
|
||||
return !timer.is_stopped()
|
||||
|
Reference in a new issue