forked from team-sg/hero-mark-2
work in easy mode
This commit is contained in:
parent
51a6a6c10d
commit
9c9cc7c6b6
1 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue