add chain note drawing
This commit is contained in:
1 parent
b5a2e8e8bb
commit
d3446ef1c2
5 files changed
+62
No files matched your search
@@ -32,6 +32,7 @@ namespace WacK.Scenes
|
||||
// TunnelObjects we can instantiate
|
||||
public static PackedScene noteTouch = GD.Load<PackedScene>("res://Things/TunnelObjects/Notes/NoteTouch.tscn");
|
||||
public static PackedScene noteHold = GD.Load<PackedScene>("res://Things/TunnelObjects/Notes/NoteHold.tscn");
|
||||
public static PackedScene noteChain = GD.Load<PackedScene>("res://Things/TunnelObjects/Notes/NoteChain.tscn");
|
||||
|
||||
[Export]
|
||||
public Control noteDisplay;
|
||||
@@ -89,6 +90,9 @@ namespace WacK.Scenes
|
||||
case NotePlayType.Touch:
|
||||
nNote = noteTouch.Instantiate<THNotePlay>();
|
||||
break;
|
||||
case NotePlayType.Untimed:
|
||||
nNote = noteChain.Instantiate<THNotePlay>();
|
||||
break;
|
||||
default:
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user