Erster Prototyp
This commit is contained in:
parent
2da5af8954
commit
885351b624
48 changed files with 1350 additions and 0 deletions
10
scenes/Grid/speed_scale.gd
Normal file
10
scenes/Grid/speed_scale.gd
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
extends Node2D
|
||||
|
||||
@onready var slider = $Path2D/Slider
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
if not GLOBAL.hasSelectedSpeed:
|
||||
if Input.is_action_just_pressed("stop"):
|
||||
GLOBAL.hasSelectedSpeed = true
|
||||
GLOBAL.currentSpeed = GLOBAL.SPEED.MAX
|
||||
print()
|
||||
Loading…
Add table
Add a link
Reference in a new issue