work in easy mode

This commit is contained in:
pennyrigate 2023-05-08 03:19:36 -04:00
parent 51a6a6c10d
commit 9c9cc7c6b6

View file

@ -13,8 +13,11 @@ onready var remote_transform: RemoteTransform2D = $Pivot/RemoteTransform
func _ready() -> void: func _ready() -> void:
pivot.rotation = initial_angle * 0.785398 # TAU / 8.0 pivot.rotation = initial_angle * 0.785398 # TAU / 8.0
if Engine.editor_hint:
return
#Easy mode #Easy mode
if Game.is_easy_mode: speed *= Game.easy_mode_speed_factor if Game.is_easy_mode:
speed *= Game.easy_mode_speed_factor
func _physics_process(delta: float) -> void: func _physics_process(delta: float) -> void:
if Engine.editor_hint: if Engine.editor_hint: