File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,6 +36,13 @@ public override void _EnterTree()
3636 {
3737 InitFromCfg ( ) ;
3838 LiveInstance = this ;
39+
40+ GD . Load < PackedScene > ( BattleDirector . LoadPath ) ;
41+ GD . Load < PackedScene > ( Cartographer . LoadPath ) ;
42+ GD . Load < PackedScene > ( ShopScene . LoadPath ) ;
43+ GD . Load < PackedScene > ( EventScene . LoadPath ) ;
44+ GD . Load < PackedScene > ( ChestScene . LoadPath ) ;
45+ GD . Load < PackedScene > ( TitleScreen . EffectsLoadPath ) ;
3946 }
4047
4148 public void InitFromCfg ( )
Original file line number Diff line number Diff line change @@ -86,6 +86,11 @@ private void BeginPlayback()
8686 _initializedPlaying = true ;
8787 }
8888
89+ public override void _EnterTree ( )
90+ {
91+ GD . Load < PackedScene > ( NoteQueueParticlesFactory . LoadPath ) ;
92+ }
93+
8994 public override void _Ready ( )
9095 {
9196 NoteChart curChart = StageProducer . Config . CurSong . Chart ;
Original file line number Diff line number Diff line change 44 */
55public static class NoteQueueParticlesFactory
66{
7- private static readonly PackedScene ParticlesScene = GD . Load < PackedScene > (
8- "res://Scenes/BattleDirector/NotePoofParticles.tscn"
9- ) ;
7+ public const string LoadPath = "res://Scenes/BattleDirector/NotePoofParticles.tscn" ;
8+ private static readonly PackedScene ParticlesScene = GD . Load < PackedScene > ( LoadPath ) ;
109
1110 public static GpuParticles2D NoteParticles (
1211 Node parent ,
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ public override void _Ready()
1717 PauseButtons [ 1 ] . Pressed += OpenOptions ;
1818 PauseButtons [ 2 ] . Pressed += Quit ;
1919 PauseButtons [ 3 ] . Pressed += QuitToMainMenu ;
20+ GD . Load < PackedScene > ( TitleScreen . LoadPath ) ;
2021 }
2122
2223 private void OpenOptions ( )
Original file line number Diff line number Diff line change 55public partial class TitleScreen : Control , IFocusableMenu
66{
77 public static readonly string LoadPath = "res://Scenes/UI/TitleScreen/TitleScreen.tscn" ;
8- private static readonly string EffectsLoadPath =
8+ public static readonly string EffectsLoadPath =
99 "res://Scenes/UI/TitleScreen/TitleScreenEffects.tscn" ;
1010
1111 [ Export ]
You can’t perform that action at this time.
0 commit comments