level + enemy spawner refactor

This commit is contained in:
Michael Campbell 2026-03-04 01:42:11 -05:00
parent ebdb9c7074
commit 2cc3eaa859
15 changed files with 942 additions and 93 deletions

View file

@ -1,6 +1,7 @@
extends CanvasLayer
var high_speed_hack := false
var zoomed_out := false
func _ready() -> void:
hide()
@ -13,3 +14,6 @@ func _process(_delta: float) -> void:
func _on_high_speed_button_pressed() -> void:
high_speed_hack = not high_speed_hack
func _on_toggle_zoom_button_pressed() -> void:
zoomed_out = not zoomed_out

View file

@ -45,4 +45,11 @@ size_flags_vertical = 4
theme_override_font_sizes/font_size = 30
text = "High Speed"
[node name="ToggleZoomButton" type="Button" parent="PanelContainer/MarginContainer/VBoxContainer" unique_id=1729373000]
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 30
text = "Zoom Out Camera"
[connection signal="pressed" from="PanelContainer/MarginContainer/VBoxContainer/HighSpeedButton" to="." method="_on_high_speed_button_pressed"]
[connection signal="pressed" from="PanelContainer/MarginContainer/VBoxContainer/ToggleZoomButton" to="." method="_on_toggle_zoom_button_pressed"]