move files to weeks and load songs individually

This commit is contained in:
George FunBook
2021-02-10 14:18:14 -06:00
parent c550c57494
commit c4e5cbadd0
253 changed files with 205 additions and 197 deletions

View File

@ -23,7 +23,6 @@ import flixel.util.FlxTimer;
import io.newgrounds.NG;
import lime.app.Application;
import openfl.Assets;
import polymod.Polymod;
using StringTools;
@ -44,8 +43,10 @@ class TitleState extends MusicBeatState
override public function create():Void
{
Polymod.init({modRoot: "mods", dirs: ['introMod']});
#if polymod
polymod.Polymod.init({modRoot: "mods", dirs: ['introMod']});
#end
#if (!web)
TitleState.soundExt = '.ogg';
#end
@ -206,7 +207,7 @@ class TitleState extends MusicBeatState
function getIntroTextShit():Array<Array<String>>
{
var fullText:String = Assets.getText('assets/data/introText.txt');
var fullText:String = Assets.getText(Paths.txt('introText'));
var firstArray:Array<String> = fullText.split('\n');
var swagGoodArray:Array<Array<String>> = [];