cleaned up a few things; looking to add a 'level score' counter.

This commit is contained in:
torontocaper committed 2026-03-16 21:38:24 -04:00
1 parent 1caed8e5bd
commit 5e4958b138
26 files changed
+1553 -25

No files matched your search

-10
View File
@@ -10,22 +10,12 @@ extends Node
const LEVEL_0 = preload("uid://1mhb537c1qxd")
#@export var
#var
@onready var start_button: Button = %StartButton
## OVERRIDES
func _ready() -> void:
start_button.connect("pressed", on_start_button_pressed)
func _process(_delta: float) -> void:
pass
func _physics_process(_delta: float) -> void:
pass
## CORE
## PRIVATE/HELPER
+2
View File
@@ -14,9 +14,11 @@ const OUTRO = preload("uid://c7eypje2fjbyx")
@export var instruction_strings: Array[String]
#var musicians: Array[Musician]
var level_score: int
var next_instruction: String
@onready var ok_button: Button = %OKButton
@onready var level_score_value: Label = %LevelScoreValue
@onready var instructions: Label = %Instructions
@onready var tilemaps: Tilemaps = $Tilemaps
## Musicians
-2
View File
@@ -98,7 +98,6 @@ func _play() -> void:
boost_timer.start()
light.visible = true
is_playing_music = true
#input_prompt.texture = solid_texture
func _pause() -> void:
play("idle")
@@ -106,7 +105,6 @@ func _pause() -> void:
beat_timer.stop()
light.visible = false
is_playing_music = false
#input_prompt.texture = outline_texture
## RECEIVERS
+34
View File
@@ -0,0 +1,34 @@
#@tool
#@icon(icon_path: String)
#class_name MyNode
extends Node
## Documentation comments
#signal
#enum
#const
#@export var
#var
#@onready var
@onready var outro_stream: AudioStreamPlayer = $OutroStream
## OVERRIDES
func _ready() -> void:
outro_stream.connect("finished", on_stream_finished)
func _process(_delta: float) -> void:
pass
func _physics_process(_delta: float) -> void:
pass
## CORE
## PRIVATE/HELPER
## RECEIVERS
func on_stream_finished() -> void:
get_tree().quit()
## SETTERS/GETTERS
+1
View File
@@ -0,0 +1 @@
uid://c7h7awn4j2qv3