Organize files. WIP score system.

This commit is contained in:
2026-01-29 00:20:56 +08:00
parent 051ca8bcd8
commit fd5ee404d7
14 changed files with 17 additions and 2 deletions

View File

@@ -6,6 +6,10 @@ enum TYPE {
HOLD_END = 2
}
enum SCORE {
# Should this go here?
}
var hit_beat: float
var type: TYPE

View File

@@ -0,0 +1,10 @@
class_name ScoreArray extends Node
var notes: NoteArray: set = _set_notes
# ======== IMPLEMENTATION ======== #
var scores: Array[Note.SCORE]
func _set_notes(p_notes: NoteArray) -> void:
notes = p_notes

View File

@@ -0,0 +1 @@
uid://0hodg0ehifaj

View File

@@ -7,8 +7,8 @@
[ext_resource type="Script" uid="uid://rg6orh6kutai" path="res://resource_type/music.gd" id="5_nsyv8"]
[ext_resource type="AudioStream" uid="uid://be8dyt7nfpffw" path="res://sfx/sfx_cowbell.ogg" id="6_ecbku"]
[ext_resource type="Script" uid="uid://bbpyym0kgujev" path="res://rhythm_game/metronome.gd" id="7_nsyv8"]
[ext_resource type="Script" uid="uid://8isyo4pxyj1r" path="res://rhythm_game/note/note_array.gd" id="9_10cpq"]
[ext_resource type="Script" uid="uid://c7h7ue6kjgoha" path="res://rhythm_game/note/note_view.gd" id="9_74aio"]
[ext_resource type="Script" uid="uid://8isyo4pxyj1r" path="res://rhythm_game/note/array/note_array.gd" id="9_10cpq"]
[ext_resource type="Script" uid="uid://c7h7ue6kjgoha" path="res://rhythm_game/note/view/note_view.gd" id="9_74aio"]
[sub_resource type="Resource" id="Resource_10cpq"]
script = ExtResource("5_nsyv8")