icon bullshit and somethin else gitaroo man
This commit is contained in:
parent
50fccded66
commit
f1d2fad105
@ -121,6 +121,7 @@
|
|||||||
<icon path="art/icon16.png" size='16'/>
|
<icon path="art/icon16.png" size='16'/>
|
||||||
<icon path="art/icon32.png" size='32'/>
|
<icon path="art/icon32.png" size='32'/>
|
||||||
<icon path="art/icon64.png" size='64'/>
|
<icon path="art/icon64.png" size='64'/>
|
||||||
|
<icon path="art/iconOG.png" size='256'/>
|
||||||
|
|
||||||
|
|
||||||
<!-- <haxedef name="SKIP_TO_PLAYSTATE" if="debug" /> -->
|
<!-- <haxedef name="SKIP_TO_PLAYSTATE" if="debug" /> -->
|
||||||
|
@ -49,6 +49,7 @@ class NGio
|
|||||||
GAME_VER = response.result.data.currentVersion;
|
GAME_VER = response.result.data.currentVersion;
|
||||||
GAME_VER_NUMS = GAME_VER.split(" ")[0].trim();
|
GAME_VER_NUMS = GAME_VER.split(" ")[0].trim();
|
||||||
trace('CURRENT NG VERSION: ' + GAME_VER);
|
trace('CURRENT NG VERSION: ' + GAME_VER);
|
||||||
|
trace('CURRENT NG VERSION: ' + GAME_VER_NUMS);
|
||||||
gotOnlineVer = true;
|
gotOnlineVer = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1272,7 +1272,14 @@ class PlayState extends MusicBeatState
|
|||||||
persistentDraw = true;
|
persistentDraw = true;
|
||||||
paused = true;
|
paused = true;
|
||||||
|
|
||||||
openSubState(new PauseSubState(boyfriend.getScreenPosition().x, boyfriend.getScreenPosition().y));
|
// 1 / 1000 chance for Gitaroo Man easter egg
|
||||||
|
if (FlxG.random.bool(0.1))
|
||||||
|
{
|
||||||
|
// gitaroo man easter egg
|
||||||
|
FlxG.switchState(new GitarooPause());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
openSubState(new PauseSubState(boyfriend.getScreenPosition().x, boyfriend.getScreenPosition().y));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FlxG.keys.justPressed.SEVEN)
|
if (FlxG.keys.justPressed.SEVEN)
|
||||||
@ -1470,14 +1477,7 @@ class PlayState extends MusicBeatState
|
|||||||
vocals.stop();
|
vocals.stop();
|
||||||
FlxG.sound.music.stop();
|
FlxG.sound.music.stop();
|
||||||
|
|
||||||
// 1 / 1000 chance for Gitaroo Man easter egg
|
openSubState(new GameOverSubstate(boyfriend.getScreenPosition().x, boyfriend.getScreenPosition().y));
|
||||||
if (FlxG.random.bool(0.1))
|
|
||||||
{
|
|
||||||
// gitaroo man easter egg
|
|
||||||
FlxG.switchState(new GitarooPause());
|
|
||||||
}
|
|
||||||
else
|
|
||||||
openSubState(new GameOverSubstate(boyfriend.getScreenPosition().x, boyfriend.getScreenPosition().y));
|
|
||||||
|
|
||||||
// FlxG.switchState(new GameOverState(boyfriend.getScreenPosition().x, boyfriend.getScreenPosition().y));
|
// FlxG.switchState(new GameOverState(boyfriend.getScreenPosition().x, boyfriend.getScreenPosition().y));
|
||||||
}
|
}
|
||||||
|
@ -274,9 +274,13 @@ class TitleState extends MusicBeatState
|
|||||||
|
|
||||||
var version:String = "v" + Application.current.meta.get('version');
|
var version:String = "v" + Application.current.meta.get('version');
|
||||||
|
|
||||||
if (version.trim() != NGio.GAME_VER_NUMS && !OutdatedSubState.leftState)
|
if (version.trim() != NGio.GAME_VER_NUMS.trim() && !OutdatedSubState.leftState)
|
||||||
{
|
{
|
||||||
trace('OLD VERSION!');
|
trace('OLD VERSION!');
|
||||||
|
trace('old ver');
|
||||||
|
trace(version.trim());
|
||||||
|
trace('cur ver');
|
||||||
|
trace(NGio.GAME_VER_NUMS.trim());
|
||||||
FlxG.switchState(new OutdatedSubState());
|
FlxG.switchState(new OutdatedSubState());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user