forked from team-sg/hero-mark-2
make everything use new difficulty system
This commit is contained in:
parent
99f46651f9
commit
723d596893
15 changed files with 41 additions and 53 deletions
|
@ -23,9 +23,8 @@ 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
|
||||
# adjust to difficulty
|
||||
speed *= Game.enemy_speed_factor
|
||||
|
||||
func _physics_process(delta):
|
||||
hitbox.position.y += direction * speed * delta
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue