Arrange fleet abilities around fire stick
This commit is contained in:
parent
cb6b0b69c6
commit
9864e59efc
8 changed files with 156 additions and 7 deletions
|
|
@ -97,6 +97,8 @@ func _process(delta: float) -> bool:
|
|||
first_shooter = skill._next_ready_laser_ship()
|
||||
if first_shooter == null:
|
||||
return _fail_now("no laser ship is ready right after spawning")
|
||||
if absf(first_shooter.get_component("laser").beam_range - 2900.0) > 0.1:
|
||||
return _fail_now("laser ship beam range was not doubled to 2900")
|
||||
|
||||
var press := InputEventScreenTouch.new()
|
||||
press.index = 7
|
||||
|
|
@ -131,7 +133,7 @@ func _process(delta: float) -> bool:
|
|||
off_line_enemy.speed = 0.0
|
||||
|
||||
beyond_range_enemy = load("res://enemies/Enemy.tscn").instantiate()
|
||||
beyond_range_enemy.position = first_shooter.global_position + Vector2(2000.0, 0.0)
|
||||
beyond_range_enemy.position = first_shooter.global_position + Vector2(3400.0, 0.0)
|
||||
main.add_child(beyond_range_enemy)
|
||||
beyond_range_enemy.speed = 0.0
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue