Organize files. WIP score system.
This commit is contained in:
@@ -6,6 +6,10 @@ enum TYPE {
|
|||||||
HOLD_END = 2
|
HOLD_END = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum SCORE {
|
||||||
|
# Should this go here?
|
||||||
|
}
|
||||||
|
|
||||||
var hit_beat: float
|
var hit_beat: float
|
||||||
|
|
||||||
var type: TYPE
|
var type: TYPE
|
||||||
|
|||||||
10
rhythm_game/note/score/score_array.gd
Normal file
10
rhythm_game/note/score/score_array.gd
Normal 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
|
||||||
1
rhythm_game/note/score/score_array.gd.uid
Normal file
1
rhythm_game/note/score/score_array.gd.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://0hodg0ehifaj
|
||||||
@@ -7,8 +7,8 @@
|
|||||||
[ext_resource type="Script" uid="uid://rg6orh6kutai" path="res://resource_type/music.gd" id="5_nsyv8"]
|
[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="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://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://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/note_view.gd" id="9_74aio"]
|
[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"]
|
[sub_resource type="Resource" id="Resource_10cpq"]
|
||||||
script = ExtResource("5_nsyv8")
|
script = ExtResource("5_nsyv8")
|
||||||
|
|||||||
Reference in New Issue
Block a user