some other crap
This commit is contained in:
parent
d52d450ce0
commit
1c49504728
@ -202,11 +202,11 @@ class FreeplayState extends MusicBeatState
|
|||||||
|
|
||||||
if (accepted)
|
if (accepted)
|
||||||
{
|
{
|
||||||
var poop:String = Highscore.formatSong(songs[curSelected].songName.toLowerCase(), curDifficulty);
|
var poop:String = Highscore.formatSong(StringTools.replace(songs[curSelected].songName," ", "-").toLowerCase(), curDifficulty);
|
||||||
|
|
||||||
trace(poop);
|
trace(poop);
|
||||||
|
|
||||||
PlayState.SONG = Song.loadFromJson(poop, songs[curSelected].songName.toLowerCase());
|
PlayState.SONG = Song.loadFromJson(poop, StringTools.replace(songs[curSelected].songName," ", "-").toLowerCase());
|
||||||
PlayState.isStoryMode = false;
|
PlayState.isStoryMode = false;
|
||||||
PlayState.storyDifficulty = curDifficulty;
|
PlayState.storyDifficulty = curDifficulty;
|
||||||
PlayState.storyWeek = songs[curSelected].week;
|
PlayState.storyWeek = songs[curSelected].week;
|
||||||
|
@ -58,7 +58,6 @@ class GameplayCustomizeState extends MusicBeatState
|
|||||||
var camFollow = new FlxObject(0, 0, 1, 1);
|
var camFollow = new FlxObject(0, 0, 1, 1);
|
||||||
|
|
||||||
dad = new Character(100, 100, 'dad');
|
dad = new Character(100, 100, 'dad');
|
||||||
bf = new Boyfriend(770, 450, 'bf');
|
|
||||||
|
|
||||||
bf = new Boyfriend(770, 450, 'bf');
|
bf = new Boyfriend(770, 450, 'bf');
|
||||||
|
|
||||||
|
@ -97,15 +97,13 @@ class Paths
|
|||||||
|
|
||||||
inline static public function voices(song:String)
|
inline static public function voices(song:String)
|
||||||
{
|
{
|
||||||
var r = ~/\s+/g;
|
song = StringTools.replace(song," ", "-");
|
||||||
r.replace(song,'-');
|
|
||||||
return 'songs:assets/songs/${song.toLowerCase()}/Voices.$SOUND_EXT';
|
return 'songs:assets/songs/${song.toLowerCase()}/Voices.$SOUND_EXT';
|
||||||
}
|
}
|
||||||
|
|
||||||
inline static public function inst(song:String)
|
inline static public function inst(song:String)
|
||||||
{
|
{
|
||||||
var r = ~/\s+/g;
|
song = StringTools.replace(song," ", "-");
|
||||||
r.replace(song,'-');
|
|
||||||
return 'songs:assets/songs/${song.toLowerCase()}/Inst.$SOUND_EXT';
|
return 'songs:assets/songs/${song.toLowerCase()}/Inst.$SOUND_EXT';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -297,7 +297,7 @@ class StoryMenuState extends MusicBeatState
|
|||||||
|
|
||||||
PlayState.storyDifficulty = curDifficulty;
|
PlayState.storyDifficulty = curDifficulty;
|
||||||
|
|
||||||
PlayState.SONG = Song.loadFromJson(PlayState.storyPlaylist[0].toLowerCase() + diffic, PlayState.storyPlaylist[0].toLowerCase());
|
PlayState.SONG = Song.loadFromJson(StringTools.replace(PlayState.storyPlaylist[0]," ", "-").toLowerCase() + diffic, StringTools.replace(PlayState.storyPlaylist[0]," ", "-").toLowerCase());
|
||||||
PlayState.storyWeek = curWeek;
|
PlayState.storyWeek = curWeek;
|
||||||
PlayState.campaignScore = 0;
|
PlayState.campaignScore = 0;
|
||||||
new FlxTimer().start(1, function(tmr:FlxTimer)
|
new FlxTimer().start(1, function(tmr:FlxTimer)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
1.5;
|
1.5.1;
|
||||||
|
- 1.5.1: Bug Fixes
|
||||||
- Added toggle for ghost tapping
|
- Added toggle for ghost tapping
|
||||||
- Officially support macOS (and add macOS requirements to docs)
|
- Officially support macOS (and add macOS requirements to docs)
|
||||||
- Autoplay
|
- Autoplay
|
||||||
|
Loading…
x
Reference in New Issue
Block a user