diff --git a/README.md b/README.md index 86fbf62..86d2286 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,9 @@ Once everything has done, have fun with the engine! ## WHAT?? MESSY SOURCE CODE?? yeah uh, most of the codes there are made when i still lack of haxe understanding, i'm still cleaning it up +# Important thing +CDEV Engine is currently only supported for Windows target only since the code is messed up and more (sorry!) + ## Credits CDEV Engine diff --git a/assets/preload/data/texts/inGameText.txt b/assets/preload/data/texts/inGameText.txt index 0b548f6..20690ce 100644 --- a/assets/preload/data/texts/inGameText.txt +++ b/assets/preload/data/texts/inGameText.txt @@ -3,7 +3,7 @@ Friday Night Funkin'--The full ass game. Press F11 to enable fullscreen mode! If you find a bug in this engine, please report--the bug on my discord or my twitter (x) dm! Funkin Forever. -You're currently playing--CDEV-Engine v.1.6.1 +You're currently playing--CDEV-Engine v1.6.1 Does anyone actually read this? DARK MODE.--YES. Rewritten Inputs! diff --git a/assets/shared/images/NOTE_press.png b/assets/shared/images/NOTE_press.png deleted file mode 100644 index 53bd44c..0000000 Binary files a/assets/shared/images/NOTE_press.png and /dev/null differ diff --git a/assets/shared/images/NOTE_press.xml b/assets/shared/images/NOTE_press.xml deleted file mode 100644 index 006f81d..0000000 --- a/assets/shared/images/NOTE_press.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/shared/images/grafix.png b/assets/shared/images/grafix.png deleted file mode 100644 index 5250be0..0000000 Binary files a/assets/shared/images/grafix.png and /dev/null differ diff --git a/assets/shared/images/lol.png b/assets/shared/images/lol.png deleted file mode 100644 index fe978b9..0000000 Binary files a/assets/shared/images/lol.png and /dev/null differ diff --git a/assets/shared/images/perfect.png b/assets/shared/images/perfect.png deleted file mode 100644 index 21ddc55..0000000 Binary files a/assets/shared/images/perfect.png and /dev/null differ diff --git a/assets/videos/blammed.mp4 b/assets/videos/blammed.mp4 deleted file mode 100644 index 41d5329..0000000 Binary files a/assets/videos/blammed.mp4 and /dev/null differ diff --git a/example_mods/FNF Test Mod/credits.txt b/example_mods/FNF Test Mod/credits.txt deleted file mode 100644 index 00dd660..0000000 --- a/example_mods/FNF Test Mod/credits.txt +++ /dev/null @@ -1,6 +0,0 @@ ---Put your custom credits here ---Credits should be on this format: Name::Desc::Color::Link ---Credits title should be on this format: Name ---"Color" should be on hex format (ex: 0xFF000000, rgba) -FNF Test Mod -CoreDev::Coder of the mod.::0xFF656565::https://youtube.com/c/Core5570RYT \ No newline at end of file diff --git a/example_mods/FNF Test Mod/mod.json b/example_mods/FNF Test Mod/mod.json deleted file mode 100644 index 40c8fe3..0000000 --- a/example_mods/FNF Test Mod/mod.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "window_title": "Friday Night Funkin' CDEV Engine - Test Mod", - "disable_base_game": true, - "modVer": "1.6", - "modDesc": "A Testing mod for CDEV Engine. (Do not remove this mod from cdev-mods folder, this engine cannot run without it.)", - "modName": "FNF Test Mod", - "restart_required": true, - "window_icon": "", - "mod_difficulties": [] -} \ No newline at end of file diff --git a/example_mods/FNF Test Mod/songList.txt b/example_mods/FNF Test Mod/songList.txt deleted file mode 100644 index 91e0ad6..0000000 --- a/example_mods/FNF Test Mod/songList.txt +++ /dev/null @@ -1 +0,0 @@ -game-test:bf-pixel:1 \ No newline at end of file diff --git a/example_mods/FNF Test Mod/background.png b/example_mods/Funkin Mod/background.png similarity index 100% rename from example_mods/FNF Test Mod/background.png rename to example_mods/Funkin Mod/background.png diff --git a/example_mods/Funkin Mod/credits.txt b/example_mods/Funkin Mod/credits.txt new file mode 100644 index 0000000..3c0eace --- /dev/null +++ b/example_mods/Funkin Mod/credits.txt @@ -0,0 +1,4 @@ +--Put your custom credits here +--Credits should be on this format: Name::Desc::Color::Link +--Credits title should be on this format: Name +--"Color" should be on hex format (ex: 0xFF000000, rgba) \ No newline at end of file diff --git a/example_mods/FNF Test Mod/data/characters/bfPixelMod.json b/example_mods/Funkin Mod/data/characters/bfPixelMod.json similarity index 100% rename from example_mods/FNF Test Mod/data/characters/bfPixelMod.json rename to example_mods/Funkin Mod/data/characters/bfPixelMod.json diff --git a/example_mods/FNF Test Mod/data/characters/characters-goes-here.txt b/example_mods/Funkin Mod/data/characters/characters-goes-here.txt similarity index 100% rename from example_mods/FNF Test Mod/data/characters/characters-goes-here.txt rename to example_mods/Funkin Mod/data/characters/characters-goes-here.txt diff --git a/example_mods/FNF Test Mod/data/charts/charting-goes-here.txt b/example_mods/Funkin Mod/data/charts/charting-goes-here.txt similarity index 100% rename from example_mods/FNF Test Mod/data/charts/charting-goes-here.txt rename to example_mods/Funkin Mod/data/charts/charting-goes-here.txt diff --git a/example_mods/FNF Test Mod/data/charts/game-test/game-test-hard.json b/example_mods/Funkin Mod/data/charts/game-test/game-test-hard.json similarity index 100% rename from example_mods/FNF Test Mod/data/charts/game-test/game-test-hard.json rename to example_mods/Funkin Mod/data/charts/game-test/game-test-hard.json diff --git a/example_mods/FNF Test Mod/data/charts/game-test/ha.hx b/example_mods/Funkin Mod/data/charts/game-test/ha.hx similarity index 100% rename from example_mods/FNF Test Mod/data/charts/game-test/ha.hx rename to example_mods/Funkin Mod/data/charts/game-test/ha.hx diff --git a/example_mods/Funkin Mod/data/charts/game-test/intro.hx b/example_mods/Funkin Mod/data/charts/game-test/intro.hx new file mode 100644 index 0000000..33a7714 --- /dev/null +++ b/example_mods/Funkin Mod/data/charts/game-test/intro.hx @@ -0,0 +1,20 @@ +function init() { + runOnFreeplay = true; +} + +function introStart() { + var video:FlxVideo = new FlxVideo(); + video.play(Paths.video("game_cutscene")); + video.onEndReached.add(function() + { + video.dispose(); + startSong(); + return; + }, true); +} + +function update(e) { + /*if (FlxG.keys.justPressed.SPACE){ + startSong(); + }*/ +} \ No newline at end of file diff --git a/example_mods/Funkin Mod/data/charts/game-test/~autosave.json b/example_mods/Funkin Mod/data/charts/game-test/~autosave.json new file mode 100644 index 0000000..7bd5e54 --- /dev/null +++ b/example_mods/Funkin Mod/data/charts/game-test/~autosave.json @@ -0,0 +1 @@ +{"song":{"player1":"bf","player2":"bfPixelMod","gfVersion":"gf","notes":[{"p1AltAnim":null,"altAnim":null,"mustHitSection":false,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":false,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[1920,2,0],[2160,2,0],[2280,2,0],[2400,0,0],[2640,2,0],[2880,2,361.25],[3360,3,361.25]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":false,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[4080,0,0],[4320,2,0],[4560,3,0],[4680,3,0],[4800,1,361.25],[5280,2,361.25]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":false,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[6000,3,0],[6240,3,0],[6600,3,0],[6720,0,0],[6960,2,0],[7200,0,0],[7440,3,0]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":false,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[7680,1,0],[7919.99999999999,2,0],[8159.99999999999,1,0],[8399.99999999999,0,0],[8639.99999999999,1,0],[8880,2,0],[9120,1,0],[9360,3,0]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[9600,1,0],[9840,1,0],[9960,1,0],[10080,2,0],[10320,3,0],[10560,3,361.250000000001],[11040,1,361.250000000001]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[11760,2,0],[12000,1,0],[12240,3,0],[12360,3,0],[12480,2,361.250000000001],[12960,0,361.250000000001]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[13680,2,0],[13920,2,0],[14280,2,0],[14400,3,0],[14640,1,0],[14880,0,0],[15120,2,0]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[15360,3,0],[15600,1,0],[15840,0,0],[16080,3,0],[16320,0,0],[16560,1,0],[16800,0,0],[17040,3,0]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":false,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[17280,2,0],[17280,6,0],[17520,2,0],[17520,6,0],[17640,2,0],[17760,0,0],[18000,1,0],[18000,7,0],[18240,1,361.250000000001],[18240,4,408],[18720,2,361.250000000001],[18720,6,408]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[19200,3,815.999999999998],[19440,7,0],[19680,6,0],[19920,7,0],[20040,7,0],[20160,1,408],[20160,5,361.250000000001],[20640,0,408],[20640,7,361.250000000001]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":false,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[21120,5,407.999999999997],[21360,0,0],[21600,0,0],[21600,4,0],[21840,7,0],[21960,0,0],[22080,1,0],[22080,6,815.999999999995],[22320,0,0],[22560,3,0],[22800,2,0]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[23040,3,407.999999999997],[23040,4,0],[23280,5,0],[23520,0,0],[23520,7,0],[23760,2,0],[23760,5,0],[24000,1,815.999999999995],[24000,7,0],[24240,4,0],[24480,7,0],[24720,6,0]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[24960,0,0],[24960,5,0],[25200,0,0],[25200,5,0],[25320,0,0],[25440,1,0],[25680,3,0],[25680,7,0],[25920,3,361.250000000001],[25920,4,408],[26400,1,361.250000000001],[26400,6,408]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[26880,7,815.999999999998],[27120,2,0],[27360,1,0],[27600,2,0],[27720,2,0],[27840,0,361.250000000001],[27840,5,408],[28320,1,361.250000000001],[28320,7,408]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[28800,4,407.999999999997],[29040,2,0],[29280,2,0],[29280,7,0],[29520,6,0],[29640,2,0],[29760,3,0],[29760,4,815.999999999995],[30000,2,0],[30240,1,0],[30480,0,0]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[30720,1,0],[30720,6,407.999999999997],[30960,2,0],[31200,1,0],[31200,7,0],[31440,0,0],[31440,6,0],[31680,1,0],[31680,5,816.000000000004],[31920,2,0],[32160,1,0],[32400,3,0]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":false,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[32640,1,0],[32880,0,0],[33120,2,0],[33360,3,0],[33600,2,407.999999999997],[34080,1,407.999999999997]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":false,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[34800,0,0],[34920,0,0],[35040,1,0],[35280,2,0],[35520,1,407.999999999997],[36000,3,407.999999999997]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[36480,3,0],[36720,2,0],[36960,3,0],[37200,0,0],[37440,3,407.999999999997],[37920,2,407.999999999997]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[38640,1,0],[38760,1,0],[38880,3,0],[39120,1,0],[39360,0,407.999999999997],[39840,2,407.999999999997]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":false,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[40320,3,0],[40560,2,0],[40800,3,0],[41040,0,0],[41160,3,0],[41280,2,407.999999999997],[41760,1,407.999999999997]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":false,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[42480,0,0],[42600,0,0],[42720,2,0],[42960,3,0],[43080,2,0],[43200,1,407.999999999997],[43680,0,407.999999999997]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[44160,2,0],[44400,1,0],[44640,3,0],[44880,0,0],[45000,3,0],[45120,2,407.999999999997],[45600,1,407.999999999997]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[46320,3,0],[46440,3,0],[46560,1,0],[46800,3,0],[46920,1,0],[47040,0,407.999999999997],[47520,1,407.999999999997]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":false,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[48000,2,0],[48000,4,0],[48240,2,0],[48240,4,0],[48360,2,0],[48480,3,0],[48720,0,0],[48720,6,0],[48960,0,361.249999999998],[48960,7,407.999999999997],[49440,1,361.249999999998],[49440,5,407.999999999997]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[49920,2,816.000000000001],[50160,7,0],[50400,6,0],[50640,7,0],[50760,7,0],[50880,1,407.999999999997],[50880,6,361.249999999998],[51360,3,407.999999999997],[51360,7,361.249999999998]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":false,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[51840,5,408.000000000003],[52080,1,0],[52320,1,0],[52320,7,0],[52560,6,0],[52680,1,0],[52800,2,0],[52800,5,816.000000000007],[53040,1,0],[53280,0,0],[53520,2,0]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[53760,3,408.000000000003],[53760,7,0],[54000,4,0],[54240,0,0],[54240,7,0],[54480,3,0],[54480,5,0],[54720,1,816.000000000007],[54720,7,0],[54960,4,0],[55200,7,0],[55440,6,0]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[55680,0,0],[55680,4,0],[55920,0,0],[55920,4,0],[56040,0,0],[56160,1,0],[56400,2,0],[56400,5,0],[56640,2,361.249999999998],[56640,7,407.999999999997],[57120,0,361.249999999998],[57120,6,407.999999999997]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[57600,7,816.000000000001],[57840,2,0],[58080,1,0],[58320,2,0],[58440,2,0],[58560,1,361.249999999998],[58560,6,407.999999999997],[59040,3,361.249999999998],[59040,5,407.999999999997]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[59520,6,408.000000000003],[59760,1,0],[60000,1,0],[60000,5,0],[60240,7,0],[60360,1,0],[60480,2,0],[60480,6,816.000000000007],[60720,0,0],[60960,3,0],[61200,1,0]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[61440,2,0],[61440,7,408.000000000003],[61680,3,0],[61920,2,0],[61920,4,0],[62160,1,0],[62160,7,0],[62400,2,0],[62400,6,816.000000000007],[62640,3,0],[62880,2,0],[63120,1,0]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":false,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[63360,0,0],[63360,4,0],[63600,0,0],[63600,4,0],[63720,0,0],[63840,2,0],[64080,3,0],[64080,6,0],[64320,3,361.249999999998],[64320,7,408.000000000003],[64800,0,361.249999999998],[64800,6,408.000000000003]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[65280,3,816.000000000019],[65520,5,0],[65760,7,0],[66000,4,0],[66120,4,0],[66240,2,408.000000000003],[66240,7,361.249999999998],[66720,1,408.000000000003],[66720,5,361.249999999998]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":false,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[67200,7,408.000000000003],[67440,3,0],[67680,3,0],[67680,5,0],[67920,4,0],[68040,3,0],[68160,0,0],[68160,7,816.000000000031],[68400,2,0],[68640.0000000001,0,0],[68880.0000000001,2,0]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[69120.0000000001,0,408.000000000015],[69120.0000000001,7,0],[69360.0000000001,5,0],[69600.0000000001,1,0],[69600.0000000001,7,0],[69840.0000000001,3,0],[69840.0000000001,5,0],[70080.0000000001,2,816.000000000031],[70080.0000000001,6,0],[70320.0000000001,4,0],[70560.0000000001,7,0],[70800.0000000001,5,0]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[71040.0000000001,0,0],[71040.0000000001,4,0],[71280.0000000002,0,0],[71280.0000000002,4,0],[71400.0000000002,0,0],[71520.0000000002,2,0],[71760.0000000002,3,0],[71760.0000000002,5,0],[72000.0000000002,3,361.249999999998],[72000.0000000002,6,408.000000000003],[72480.0000000002,0,361.249999999998],[72480.0000000002,5,408.000000000003]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[72960.0000000002,6,816.000000000019],[73200.0000000002,1,0],[73440.0000000002,3,0],[73680.0000000002,1,0],[73800.0000000002,1,0],[73920.0000000002,0,361.249999999998],[73920.0000000002,5,408.000000000003],[74400.0000000002,1,361.249999999998],[74400.0000000002,7,408.000000000003]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[74880.0000000002,4,408.000000000003],[75120.0000000002,3,0],[75360.0000000002,3,0],[75360.0000000002,7,0],[75600.0000000002,5,0],[75720.0000000002,3,0],[75840.0000000002,0,0],[75840.0000000002,4,816.000000000031],[76080.0000000002,3,0],[76320.0000000003,2,0],[76560.0000000003,0,0]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[76800.0000000003,1,0],[76800.0000000003,5,408.000000000015],[77040.0000000003,2,0],[77280.0000000003,1,0],[77280.0000000003,7,0],[77520.0000000003,0,0],[77520.0000000003,5,0],[77760.0000000003,1,0],[77760.0000000003,4,816.000000000031],[78000.0000000003,2,0],[78240.0000000003,1,0],[78480.0000000003,3,0]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":null,"altAnim":null,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":null,"sectionNotes":[[78720.0000000003,1,1632],[78720.0000000003,7,1632]],"banger":null,"sectionEvents":[],"bpm":125,"changeBPM":null},{"p1AltAnim":false,"altAnim":false,"mustHitSection":false,"lengthInSteps":16,"typeOfSection":0,"sectionNotes":[],"banger":false,"sectionEvents":[],"bpm":125,"changeBPM":false},{"p1AltAnim":false,"altAnim":false,"mustHitSection":false,"lengthInSteps":16,"typeOfSection":0,"sectionNotes":[],"banger":false,"sectionEvents":[["Play Animation",0,82560,"gf","cheer"],["Play Animation",4,82560,"bf","hey"]],"bpm":125,"changeBPM":false},{"p1AltAnim":false,"altAnim":false,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":0,"sectionNotes":[],"banger":false,"sectionEvents":[],"bpm":125,"changeBPM":false},{"p1AltAnim":false,"altAnim":false,"mustHitSection":true,"lengthInSteps":16,"typeOfSection":0,"sectionNotes":[],"banger":false,"sectionEvents":[],"bpm":125,"changeBPM":false},{"lengthInSteps":16,"altAnim":false,"p1AltAnim":false,"typeOfSection":0,"sectionNotes":[],"bpm":125,"changeBPM":false,"sectionEvents":[],"banger":false,"mustHitSection":true}],"song":"game-test","stage":"Park","needsVoices":true,"validScore":true,"bpm":125,"speed":2.2}} \ No newline at end of file diff --git a/example_mods/FNF Test Mod/data/charts/mod-test/mod-test-hard.json b/example_mods/Funkin Mod/data/charts/mod-test/mod-test-hard.json similarity index 100% rename from example_mods/FNF Test Mod/data/charts/mod-test/mod-test-hard.json rename to example_mods/Funkin Mod/data/charts/mod-test/mod-test-hard.json diff --git a/example_mods/FNF Test Mod/data/charts/mod-test/script.hx b/example_mods/Funkin Mod/data/charts/mod-test/script.hx similarity index 100% rename from example_mods/FNF Test Mod/data/charts/mod-test/script.hx rename to example_mods/Funkin Mod/data/charts/mod-test/script.hx diff --git a/example_mods/FNF Test Mod/data/charts/mod-test/unknown.hx b/example_mods/Funkin Mod/data/charts/mod-test/unknown.hx similarity index 100% rename from example_mods/FNF Test Mod/data/charts/mod-test/unknown.hx rename to example_mods/Funkin Mod/data/charts/mod-test/unknown.hx diff --git a/example_mods/FNF Test Mod/data/fonts/fonts-goes-here.txt b/example_mods/Funkin Mod/data/fonts/fonts-goes-here.txt similarity index 100% rename from example_mods/FNF Test Mod/data/fonts/fonts-goes-here.txt rename to example_mods/Funkin Mod/data/fonts/fonts-goes-here.txt diff --git a/example_mods/FNF Test Mod/data/stages/CustomStage.json b/example_mods/Funkin Mod/data/stages/CustomStage.json similarity index 100% rename from example_mods/FNF Test Mod/data/stages/CustomStage.json rename to example_mods/Funkin Mod/data/stages/CustomStage.json diff --git a/example_mods/FNF Test Mod/data/stages/Park.hx b/example_mods/Funkin Mod/data/stages/Park.hx similarity index 100% rename from example_mods/FNF Test Mod/data/stages/Park.hx rename to example_mods/Funkin Mod/data/stages/Park.hx diff --git a/example_mods/FNF Test Mod/data/stages/Park.json b/example_mods/Funkin Mod/data/stages/Park.json similarity index 100% rename from example_mods/FNF Test Mod/data/stages/Park.json rename to example_mods/Funkin Mod/data/stages/Park.json diff --git a/example_mods/FNF Test Mod/data/stages/testStage.json b/example_mods/Funkin Mod/data/stages/testStage.json similarity index 100% rename from example_mods/FNF Test Mod/data/stages/testStage.json rename to example_mods/Funkin Mod/data/stages/testStage.json diff --git a/example_mods/FNF Test Mod/data/weeks/CustomWeek.json b/example_mods/Funkin Mod/data/weeks/CustomWeek.json similarity index 100% rename from example_mods/FNF Test Mod/data/weeks/CustomWeek.json rename to example_mods/Funkin Mod/data/weeks/CustomWeek.json diff --git a/example_mods/FNF Test Mod/data/weeks/testWeek.json b/example_mods/Funkin Mod/data/weeks/testWeek.json similarity index 100% rename from example_mods/FNF Test Mod/data/weeks/testWeek.json rename to example_mods/Funkin Mod/data/weeks/testWeek.json diff --git a/example_mods/FNF Test Mod/events/readme.txt b/example_mods/Funkin Mod/events/readme.txt similarity index 100% rename from example_mods/FNF Test Mod/events/readme.txt rename to example_mods/Funkin Mod/events/readme.txt diff --git a/example_mods/FNF Test Mod/icon.png b/example_mods/Funkin Mod/icon.png similarity index 100% rename from example_mods/FNF Test Mod/icon.png rename to example_mods/Funkin Mod/icon.png diff --git a/example_mods/FNF Test Mod/images/bg_sky/background.png b/example_mods/Funkin Mod/images/bg_sky/background.png similarity index 100% rename from example_mods/FNF Test Mod/images/bg_sky/background.png rename to example_mods/Funkin Mod/images/bg_sky/background.png diff --git a/example_mods/FNF Test Mod/images/bg_sky/charBox.png b/example_mods/Funkin Mod/images/bg_sky/charBox.png similarity index 100% rename from example_mods/FNF Test Mod/images/bg_sky/charBox.png rename to example_mods/Funkin Mod/images/bg_sky/charBox.png diff --git a/example_mods/FNF Test Mod/images/bg_sky/foreground.png b/example_mods/Funkin Mod/images/bg_sky/foreground.png similarity index 100% rename from example_mods/FNF Test Mod/images/bg_sky/foreground.png rename to example_mods/Funkin Mod/images/bg_sky/foreground.png diff --git a/example_mods/FNF Test Mod/images/bg_sky/stuff.png b/example_mods/Funkin Mod/images/bg_sky/stuff.png similarity index 100% rename from example_mods/FNF Test Mod/images/bg_sky/stuff.png rename to example_mods/Funkin Mod/images/bg_sky/stuff.png diff --git a/example_mods/FNF Test Mod/images/characters/bfPixelMod.png b/example_mods/Funkin Mod/images/characters/bfPixelMod.png similarity index 100% rename from example_mods/FNF Test Mod/images/characters/bfPixelMod.png rename to example_mods/Funkin Mod/images/characters/bfPixelMod.png diff --git a/example_mods/FNF Test Mod/images/characters/bfPixelMod.xml b/example_mods/Funkin Mod/images/characters/bfPixelMod.xml similarity index 100% rename from example_mods/FNF Test Mod/images/characters/bfPixelMod.xml rename to example_mods/Funkin Mod/images/characters/bfPixelMod.xml diff --git a/example_mods/FNF Test Mod/images/characters/readme.txt b/example_mods/Funkin Mod/images/characters/readme.txt similarity index 100% rename from example_mods/FNF Test Mod/images/characters/readme.txt rename to example_mods/Funkin Mod/images/characters/readme.txt diff --git a/example_mods/FNF Test Mod/images/checker.png b/example_mods/Funkin Mod/images/checker.png similarity index 100% rename from example_mods/FNF Test Mod/images/checker.png rename to example_mods/Funkin Mod/images/checker.png diff --git a/example_mods/FNF Test Mod/images/gfDanceTitle.png b/example_mods/Funkin Mod/images/gfDanceTitle.png similarity index 100% rename from example_mods/FNF Test Mod/images/gfDanceTitle.png rename to example_mods/Funkin Mod/images/gfDanceTitle.png diff --git a/example_mods/FNF Test Mod/images/gfDanceTitle.xml b/example_mods/Funkin Mod/images/gfDanceTitle.xml similarity index 100% rename from example_mods/FNF Test Mod/images/gfDanceTitle.xml rename to example_mods/Funkin Mod/images/gfDanceTitle.xml diff --git a/example_mods/FNF Test Mod/images/icons/bf-pixelMod-icon.png b/example_mods/Funkin Mod/images/icons/bf-pixelMod-icon.png similarity index 100% rename from example_mods/FNF Test Mod/images/icons/bf-pixelMod-icon.png rename to example_mods/Funkin Mod/images/icons/bf-pixelMod-icon.png diff --git a/example_mods/FNF Test Mod/images/icons/readme.txt b/example_mods/Funkin Mod/images/icons/readme.txt similarity index 100% rename from example_mods/FNF Test Mod/images/icons/readme.txt rename to example_mods/Funkin Mod/images/icons/readme.txt diff --git a/example_mods/FNF Test Mod/images/logoBumpin.png b/example_mods/Funkin Mod/images/logoBumpin.png similarity index 100% rename from example_mods/FNF Test Mod/images/logoBumpin.png rename to example_mods/Funkin Mod/images/logoBumpin.png diff --git a/example_mods/FNF Test Mod/images/logoBumpin.xml b/example_mods/Funkin Mod/images/logoBumpin.xml similarity index 100% rename from example_mods/FNF Test Mod/images/logoBumpin.xml rename to example_mods/Funkin Mod/images/logoBumpin.xml diff --git a/example_mods/FNF Test Mod/images/newgrounds_logo.png b/example_mods/Funkin Mod/images/newgrounds_logo.png similarity index 100% rename from example_mods/FNF Test Mod/images/newgrounds_logo.png rename to example_mods/Funkin Mod/images/newgrounds_logo.png diff --git a/example_mods/FNF Test Mod/images/notes/CDEVNOTE_assets.png b/example_mods/Funkin Mod/images/notes/CDEVNOTE_assets.png similarity index 100% rename from example_mods/FNF Test Mod/images/notes/CDEVNOTE_assets.png rename to example_mods/Funkin Mod/images/notes/CDEVNOTE_assets.png diff --git a/example_mods/FNF Test Mod/images/notes/CDEVNOTE_assets.xml b/example_mods/Funkin Mod/images/notes/CDEVNOTE_assets.xml similarity index 100% rename from example_mods/FNF Test Mod/images/notes/CDEVNOTE_assets.xml rename to example_mods/Funkin Mod/images/notes/CDEVNOTE_assets.xml diff --git a/example_mods/FNF Test Mod/images/notes/bruhj.png b/example_mods/Funkin Mod/images/notes/bruhj.png similarity index 100% rename from example_mods/FNF Test Mod/images/notes/bruhj.png rename to example_mods/Funkin Mod/images/notes/bruhj.png diff --git a/example_mods/FNF Test Mod/images/notes/bruhj.xml b/example_mods/Funkin Mod/images/notes/bruhj.xml similarity index 100% rename from example_mods/FNF Test Mod/images/notes/bruhj.xml rename to example_mods/Funkin Mod/images/notes/bruhj.xml diff --git a/example_mods/FNF Test Mod/images/stgBck.png b/example_mods/Funkin Mod/images/stgBck.png similarity index 100% rename from example_mods/FNF Test Mod/images/stgBck.png rename to example_mods/Funkin Mod/images/stgBck.png diff --git a/example_mods/FNF Test Mod/images/stgCur.png b/example_mods/Funkin Mod/images/stgCur.png similarity index 100% rename from example_mods/FNF Test Mod/images/stgCur.png rename to example_mods/Funkin Mod/images/stgCur.png diff --git a/example_mods/FNF Test Mod/images/stgFrt.png b/example_mods/Funkin Mod/images/stgFrt.png similarity index 100% rename from example_mods/FNF Test Mod/images/stgFrt.png rename to example_mods/Funkin Mod/images/stgFrt.png diff --git a/example_mods/FNF Test Mod/images/stgLgt.png b/example_mods/Funkin Mod/images/stgLgt.png similarity index 100% rename from example_mods/FNF Test Mod/images/stgLgt.png rename to example_mods/Funkin Mod/images/stgLgt.png diff --git a/example_mods/FNF Test Mod/images/storymenu/weekLogo.png b/example_mods/Funkin Mod/images/storymenu/weekLogo.png similarity index 100% rename from example_mods/FNF Test Mod/images/storymenu/weekLogo.png rename to example_mods/Funkin Mod/images/storymenu/weekLogo.png diff --git a/example_mods/FNF Test Mod/images/titleEnter.png b/example_mods/Funkin Mod/images/titleEnter.png similarity index 100% rename from example_mods/FNF Test Mod/images/titleEnter.png rename to example_mods/Funkin Mod/images/titleEnter.png diff --git a/example_mods/FNF Test Mod/images/titleEnter.xml b/example_mods/Funkin Mod/images/titleEnter.xml similarity index 100% rename from example_mods/FNF Test Mod/images/titleEnter.xml rename to example_mods/Funkin Mod/images/titleEnter.xml diff --git a/example_mods/FNF Test Mod/introTextCustom.txt b/example_mods/Funkin Mod/introTextCustom.txt similarity index 100% rename from example_mods/FNF Test Mod/introTextCustom.txt rename to example_mods/Funkin Mod/introTextCustom.txt diff --git a/example_mods/Funkin Mod/mod.json b/example_mods/Funkin Mod/mod.json new file mode 100644 index 0000000..a0d7bbc --- /dev/null +++ b/example_mods/Funkin Mod/mod.json @@ -0,0 +1,10 @@ +{ + "window_title": "Friday Night Funkin' CDEV Engine - Funkin Mod", + "disable_base_game": true, + "modVer": "1.6.1", + "modDesc": "CDEV Engine built-in mod. (Do not remove this mod from cdev-mods folder, this engine cannot run without it.)", + "modName": "Funkin Mod", + "restart_required": true, + "window_icon": "", + "mod_difficulties": [] +} \ No newline at end of file diff --git a/example_mods/FNF Test Mod/music/freakyMenu.ogg b/example_mods/Funkin Mod/music/freakyMenu.ogg similarity index 100% rename from example_mods/FNF Test Mod/music/freakyMenu.ogg rename to example_mods/Funkin Mod/music/freakyMenu.ogg diff --git a/example_mods/FNF Test Mod/music/funkinIntro.ogg b/example_mods/Funkin Mod/music/funkinIntro.ogg similarity index 100% rename from example_mods/FNF Test Mod/music/funkinIntro.ogg rename to example_mods/Funkin Mod/music/funkinIntro.ogg diff --git a/example_mods/FNF Test Mod/music/music-goes-here.txt b/example_mods/Funkin Mod/music/music-goes-here.txt similarity index 100% rename from example_mods/FNF Test Mod/music/music-goes-here.txt rename to example_mods/Funkin Mod/music/music-goes-here.txt diff --git a/example_mods/FNF Test Mod/notes/buat.hx b/example_mods/Funkin Mod/notes/buat.hx similarity index 100% rename from example_mods/FNF Test Mod/notes/buat.hx rename to example_mods/Funkin Mod/notes/buat.hx diff --git a/example_mods/FNF Test Mod/notes/custom-notetypes-goes-here.txt b/example_mods/Funkin Mod/notes/custom-notetypes-goes-here.txt similarity index 100% rename from example_mods/FNF Test Mod/notes/custom-notetypes-goes-here.txt rename to example_mods/Funkin Mod/notes/custom-notetypes-goes-here.txt diff --git a/example_mods/Funkin Mod/songList.txt b/example_mods/Funkin Mod/songList.txt new file mode 100644 index 0000000..1e08ca7 --- /dev/null +++ b/example_mods/Funkin Mod/songList.txt @@ -0,0 +1 @@ +game-test:bf:1 \ No newline at end of file diff --git a/example_mods/FNF Test Mod/songs/game-test/Inst.ogg b/example_mods/Funkin Mod/songs/game-test/Inst.ogg similarity index 100% rename from example_mods/FNF Test Mod/songs/game-test/Inst.ogg rename to example_mods/Funkin Mod/songs/game-test/Inst.ogg diff --git a/example_mods/FNF Test Mod/songs/game-test/Voices.ogg b/example_mods/Funkin Mod/songs/game-test/Voices.ogg similarity index 100% rename from example_mods/FNF Test Mod/songs/game-test/Voices.ogg rename to example_mods/Funkin Mod/songs/game-test/Voices.ogg diff --git a/example_mods/FNF Test Mod/songs/mod-test/Inst.mp3 b/example_mods/Funkin Mod/songs/mod-test/Inst.mp3 similarity index 100% rename from example_mods/FNF Test Mod/songs/mod-test/Inst.mp3 rename to example_mods/Funkin Mod/songs/mod-test/Inst.mp3 diff --git a/example_mods/FNF Test Mod/songs/mod-test/Inst.ogg b/example_mods/Funkin Mod/songs/mod-test/Inst.ogg similarity index 100% rename from example_mods/FNF Test Mod/songs/mod-test/Inst.ogg rename to example_mods/Funkin Mod/songs/mod-test/Inst.ogg diff --git a/example_mods/FNF Test Mod/songs/mod-test/Voices.mp3 b/example_mods/Funkin Mod/songs/mod-test/Voices.mp3 similarity index 100% rename from example_mods/FNF Test Mod/songs/mod-test/Voices.mp3 rename to example_mods/Funkin Mod/songs/mod-test/Voices.mp3 diff --git a/example_mods/FNF Test Mod/songs/mod-test/Voices.ogg b/example_mods/Funkin Mod/songs/mod-test/Voices.ogg similarity index 100% rename from example_mods/FNF Test Mod/songs/mod-test/Voices.ogg rename to example_mods/Funkin Mod/songs/mod-test/Voices.ogg diff --git a/example_mods/FNF Test Mod/songs/songs-goes-here.txt b/example_mods/Funkin Mod/songs/songs-goes-here.txt similarity index 100% rename from example_mods/FNF Test Mod/songs/songs-goes-here.txt rename to example_mods/Funkin Mod/songs/songs-goes-here.txt diff --git a/example_mods/FNF Test Mod/sounds/confirmMenu.ogg b/example_mods/Funkin Mod/sounds/confirmMenu.ogg similarity index 100% rename from example_mods/FNF Test Mod/sounds/confirmMenu.ogg rename to example_mods/Funkin Mod/sounds/confirmMenu.ogg diff --git a/example_mods/FNF Test Mod/sounds/gone.ogg b/example_mods/Funkin Mod/sounds/gone.ogg similarity index 100% rename from example_mods/FNF Test Mod/sounds/gone.ogg rename to example_mods/Funkin Mod/sounds/gone.ogg diff --git a/example_mods/FNF Test Mod/sounds/kick.ogg b/example_mods/Funkin Mod/sounds/kick.ogg similarity index 100% rename from example_mods/FNF Test Mod/sounds/kick.ogg rename to example_mods/Funkin Mod/sounds/kick.ogg diff --git a/example_mods/FNF Test Mod/sounds/snare.ogg b/example_mods/Funkin Mod/sounds/snare.ogg similarity index 100% rename from example_mods/FNF Test Mod/sounds/snare.ogg rename to example_mods/Funkin Mod/sounds/snare.ogg diff --git a/example_mods/FNF Test Mod/sounds/sounds-goes-here.txt b/example_mods/Funkin Mod/sounds/sounds-goes-here.txt similarity index 100% rename from example_mods/FNF Test Mod/sounds/sounds-goes-here.txt rename to example_mods/Funkin Mod/sounds/sounds-goes-here.txt diff --git a/example_mods/FNF Test Mod/ui/TitleState.hx b/example_mods/Funkin Mod/ui/TitleState.hx similarity index 100% rename from example_mods/FNF Test Mod/ui/TitleState.hx rename to example_mods/Funkin Mod/ui/TitleState.hx diff --git a/example_mods/Funkin Mod/videos/game_cutscene.mp4 b/example_mods/Funkin Mod/videos/game_cutscene.mp4 new file mode 100644 index 0000000..c54340d Binary files /dev/null and b/example_mods/Funkin Mod/videos/game_cutscene.mp4 differ diff --git a/githubVersion.txt b/githubVersion.txt index dc39e58..2eda823 100644 --- a/githubVersion.txt +++ b/githubVersion.txt @@ -1 +1 @@ -1.6 \ No newline at end of file +1.6.1 \ No newline at end of file diff --git a/source/game/cdev/CDevConfig.hx b/source/game/cdev/CDevConfig.hx index 441f357..4d06aca 100644 --- a/source/game/cdev/CDevConfig.hx +++ b/source/game/cdev/CDevConfig.hx @@ -28,7 +28,7 @@ class CDevConfig public static var window_icon_custom:Bool = false; public static var debug:Bool = false; public static var elapsedGameTime:Float; - public static var engineVersion:String = "1.6"; + public static var engineVersion:String = "1.6.1"; public static var utils(default, null):CDevUtils = new CDevUtils(); public static var DEPRECATED_STUFFS:Map; diff --git a/source/game/cdev/script/ScriptSupport.hx b/source/game/cdev/script/ScriptSupport.hx index d6910b9..0fb671f 100644 --- a/source/game/cdev/script/ScriptSupport.hx +++ b/source/game/cdev/script/ScriptSupport.hx @@ -55,7 +55,7 @@ class ScriptSupport { public static var scripts:Array = []; public static var typedScripts:Array = []; - public static var currentMod:String = "FNF Test Mod"; + public static var currentMod:String = "Funkin Mod"; public static var playStated:PlayState = new PlayState(); public static function parseSongConfig() diff --git a/source/game/cdev/script/SongConfScript.hx b/source/game/cdev/script/SongConfScript.hx index e6a42f1..85853d7 100644 --- a/source/game/cdev/script/SongConfScript.hx +++ b/source/game/cdev/script/SongConfScript.hx @@ -43,7 +43,7 @@ class SongConfScript { scripts = [ { - daPath: 'cdev-mods/FNF Test Mod/data/charts/mod-test/unknown.hx', + daPath: 'cdev-mods/Funkin Mod/data/charts/mod-test/unknown.hx', daMod: mod } ]; @@ -97,7 +97,7 @@ class SongConfScript public static function getScriptShit(mod:String, sus:String):CDevModScript { - var p:String = 'cdev-mods/FNF Test Mod/data/charts/mod-test/unknown.hx'; + var p:String = 'cdev-mods/Funkin Mod/data/charts/mod-test/unknown.hx'; var exist:Bool = false; // classic script method for (ext in CDevScript.haxeExts) @@ -119,8 +119,8 @@ class SongConfScript } } return { - daMod: "FNF Test Mod", - daPath: "cdev-mods/FNF Test Mod/data/charts/mod-test/unknown.hx" + daMod: "Funkin Mod", + daPath: "cdev-mods/Funkin Mod/data/charts/mod-test/unknown.hx" } } } diff --git a/source/meta/states/FreeplayState.hx b/source/meta/states/FreeplayState.hx index a4ee7c3..ed9ab93 100644 --- a/source/meta/states/FreeplayState.hx +++ b/source/meta/states/FreeplayState.hx @@ -438,9 +438,11 @@ class FreeplayState extends MusicBeatState if (FlxG.sound.music != null) Conductor.songPosition = FlxG.sound.music.time; - if (!selectedThing) - if (FlxG.sound.music.volume < 0.7) + if (!selectedThing){ + if (FlxG.sound.music!=null&&FlxG.sound.music.volume < 0.7) FlxG.sound.music.volume += 0.5 * FlxG.elapsed; + } + bg.alpha = FlxMath.lerp(0.7, bg.alpha, game.cdev.CDevConfig.utils.bound(1 - (elapsed * 8), 0, 1)); @@ -862,6 +864,7 @@ class FreeplayState extends MusicBeatState function selectedSong() // look at how messy this function is { + // i'll actually implement song asset caching later :pensive: curPlayedSong = songs[curSelected].songName; songBG = new FlxSprite(0, FlxG.height / 2 + 90).loadGraphic(Paths.image('healthBar', 'shared')); songBG.screenCenter(X);