forked from team-sg/hero-mark-2
eeeh? easy mode? only kids play in easy mode!!
This commit is contained in:
parent
273ede7e9d
commit
22656e9efa
18 changed files with 126 additions and 86 deletions
|
@ -23,6 +23,9 @@ func _ready():
|
|||
hitbox.global_position.y = old_y
|
||||
line.points[1].y = hitbox.position.y
|
||||
raycast.queue_free()
|
||||
#Easy mode
|
||||
if Game.is_easy_mode:
|
||||
speed *= Game.easy_mode_speed_factor
|
||||
|
||||
func _physics_process(delta):
|
||||
hitbox.position.y += direction * speed * delta
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue