Fill bomber hull during cooldown
This commit is contained in:
parent
f5c60f8805
commit
7da4531f25
3 changed files with 47 additions and 12 deletions
|
|
@ -21,8 +21,10 @@ func _ready() -> void:
|
|||
var skill: GasBombController = main.get_node("GasBombController")
|
||||
skill._process(0.0)
|
||||
# Show both per-ship states in one frame: the first bomber is rearming,
|
||||
# while the second has the bright complete ready halo and supplies the aim.
|
||||
fleet.ships[2].get_component("gas_bomber").consume_shot(GasBombController.COOLDOWN)
|
||||
# while the second has a fully lit hull and supplies the aim.
|
||||
var rearming: Node = fleet.ships[2].get_component("gas_bomber")
|
||||
rearming.consume_shot(GasBombController.COOLDOWN)
|
||||
rearming.tick(GasBombController.COOLDOWN * 0.5)
|
||||
main.get_node("Camera2D").zoom = Vector2(1.8, 1.8)
|
||||
var button: Control = main.get_node("UI/GasBombButton")
|
||||
var press := InputEventScreenTouch.new()
|
||||
|
|
|
|||
Loading…
Reference in a new issue