version update and fixes
This commit is contained in:
parent
8a95be0b5f
commit
5928783520
@ -42,7 +42,7 @@ class FreeplayState extends MusicBeatState
|
|||||||
for (i in 0...initSonglist.length)
|
for (i in 0...initSonglist.length)
|
||||||
{
|
{
|
||||||
var data:Array<String> = initSonglist[i].split(':');
|
var data:Array<String> = initSonglist[i].split(':');
|
||||||
songs.push(new SongMetadata(data[0], data[2], data[1]));
|
songs.push(new SongMetadata(data[0], Std.parseInt(data[2]), data[1]));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -36,9 +36,9 @@ class MainMenuState extends MusicBeatState
|
|||||||
var newGaming2:FlxText;
|
var newGaming2:FlxText;
|
||||||
var newInput:Bool = true;
|
var newInput:Bool = true;
|
||||||
|
|
||||||
public static var nightly:String = "-Nightly.3";
|
public static var nightly:String = "";
|
||||||
|
|
||||||
public static var kadeEngineVer:String = "1.3.1" + nightly;
|
public static var kadeEngineVer:String = "1.4" + nightly;
|
||||||
public static var gameVer:String = "0.2.7.1";
|
public static var gameVer:String = "0.2.7.1";
|
||||||
|
|
||||||
var magenta:FlxSprite;
|
var magenta:FlxSprite;
|
||||||
|
@ -335,6 +335,7 @@ class OffsetMenu extends Option
|
|||||||
PlayState.isStoryMode = false;
|
PlayState.isStoryMode = false;
|
||||||
PlayState.storyDifficulty = 0;
|
PlayState.storyDifficulty = 0;
|
||||||
PlayState.storyWeek = 0;
|
PlayState.storyWeek = 0;
|
||||||
|
PlayState.offsetTesting = true;
|
||||||
trace('CUR WEEK' + PlayState.storyWeek);
|
trace('CUR WEEK' + PlayState.storyWeek);
|
||||||
LoadingState.loadAndSwitchState(new PlayState());
|
LoadingState.loadAndSwitchState(new PlayState());
|
||||||
return false;
|
return false;
|
||||||
|
@ -140,20 +140,21 @@ class OptionsMenu extends MusicBeatState
|
|||||||
|
|
||||||
case 'Scroll Speed':
|
case 'Scroll Speed':
|
||||||
if (FlxG.keys.justPressed.RIGHT)
|
if (FlxG.keys.justPressed.RIGHT)
|
||||||
FlxG.save.data.scrollSpeed+=0.1;
|
FlxG.save.data.scrollSpeed += 0.1;
|
||||||
|
|
||||||
if (FlxG.keys.justPressed.LEFT)
|
if (FlxG.keys.justPressed.LEFT)
|
||||||
FlxG.save.data.scrollSpeed-=0.1;
|
FlxG.save.data.scrollSpeed -= 0.1;
|
||||||
|
|
||||||
// caps
|
// caps
|
||||||
|
|
||||||
if (FlxG.save.data.scrollSpeed < 0)
|
if (FlxG.save.data.scrollSpeed < 1)
|
||||||
FlxG.save.data.scrollSpeed = 0.1;
|
FlxG.save.data.scrollSpeed = 1;
|
||||||
|
|
||||||
if (FlxG.save.data.scrollSpeed > 10)
|
if (FlxG.save.data.scrollSpeed > 10)
|
||||||
FlxG.save.data.scrollSpeed = 10;
|
FlxG.save.data.scrollSpeed = 10;
|
||||||
|
|
||||||
versionShit.text = "Current Scroll Speed: " + FlxG.save.data.scrollSpeed + " - Description - " + currentDescription;
|
|
||||||
|
versionShit.text = "Current Scroll Speed: " + truncateFloat(FlxG.save.data.scrollSpeed,1) + " - Description - " + currentDescription;
|
||||||
default:
|
default:
|
||||||
if (FlxG.keys.pressed.RIGHT)
|
if (FlxG.keys.pressed.RIGHT)
|
||||||
FlxG.save.data.offset += 0.01;
|
FlxG.save.data.offset += 0.01;
|
||||||
|
@ -109,6 +109,12 @@ class PauseSubState extends MusicBeatSubstate
|
|||||||
FlxG.resetState();
|
FlxG.resetState();
|
||||||
case "Exit to menu":
|
case "Exit to menu":
|
||||||
PlayState.loadRep = false;
|
PlayState.loadRep = false;
|
||||||
|
if (PlayState.offsetTesting)
|
||||||
|
{
|
||||||
|
PlayState.offsetTesting = false;
|
||||||
|
FlxG.switchState(new OptionsMenu());
|
||||||
|
}
|
||||||
|
else
|
||||||
FlxG.switchState(new MainMenuState());
|
FlxG.switchState(new MainMenuState());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1972,6 +1972,7 @@ class PlayState extends MusicBeatState
|
|||||||
if (offsetTesting)
|
if (offsetTesting)
|
||||||
{
|
{
|
||||||
FlxG.sound.playMusic(Paths.music('freakyMenu'));
|
FlxG.sound.playMusic(Paths.music('freakyMenu'));
|
||||||
|
offsetTesting = false;
|
||||||
LoadingState.loadAndSwitchState(new OptionsMenu());
|
LoadingState.loadAndSwitchState(new OptionsMenu());
|
||||||
FlxG.save.data.offset = offsetTest;
|
FlxG.save.data.offset = offsetTest;
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
1.3.1
|
1.4
|
Loading…
x
Reference in New Issue
Block a user