Skip to content

Commit

Permalink
prep 1.36.0 for release
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanSantiagoYT committed Oct 18, 2024
1 parent bb71073 commit 3218c6c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion source/MainMenuState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ using StringTools;

class MainMenuState extends MusicBeatState
{
public static var psychEngineJSVersion:String = '1.35.0'; //This is also used for Discord RPC
public static var psychEngineJSVersion:String = '1.36.0'; //This is also used for Discord RPC
public static var psychEngineVersion:String = '0.6.3'; //This is also used for Discord RPC
public static var curSelected:Int = 0;

Expand Down
20 changes: 10 additions & 10 deletions source/StartupState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class StartupState extends MusicBeatState
var logo:FlxSprite;
var skipTxt:FlxText;

var maxIntros:Int = 2;
var maxIntros:Int = 3;

override public function create():Void
{
Expand Down Expand Up @@ -69,6 +69,14 @@ class StartupState extends MusicBeatState
logo.screenCenter();
FlxTween.tween(logo, {alpha: 1, "scale.x": 1, "scale.y": 1}, 1.35, {ease: FlxEase.expoOut, onComplete: _ -> onIntroDone(0.6)});
case 3:
// secret muaahahhahhahaahha
FlxG.sound.play(Paths.sound('tada', 'splash'));
logo.loadGraphic(Paths.image('JavaScriptLogo.png', 'splash'));
logo.scale.set(0.1,0.1);
logo.updateHitbox();
logo.screenCenter();
FlxTween.tween(logo, {alpha: 1, "scale.x": 1, "scale.y": 1}, 1.35, {ease: FlxEase.expoOut, onComplete: _ -> onIntroDone(0.6)});
case 4:
#if VIDEOS_ALLOWED
var vidSprite = new MP4Handler(); // it plays but it doesn't show???
#if (hxCodec < "3.0.0")
Expand All @@ -87,7 +95,7 @@ class StartupState extends MusicBeatState
});
#end
#end
case 4:
case 5:
#if VIDEOS_ALLOWED
var vidSprite = new MP4Handler(); // it plays but it doesn't show???
#if (hxCodec < "3.0.0")
Expand All @@ -106,14 +114,6 @@ class StartupState extends MusicBeatState
});
#end
#end
case 5:
// secret muaahahhahhahaahha
FlxG.sound.play(Paths.sound('tada', 'splash'));
logo.loadGraphic(Paths.image('JavaScriptLogo.png', 'splash'));
logo.scale.set(0.1,0.1);
logo.updateHitbox();
logo.screenCenter();
FlxTween.tween(logo, {alpha: 1, "scale.x": 1, "scale.y": 1}, 1.35, {ease: FlxEase.expoOut, onComplete: _ -> onIntroDone(0.6)});
}
});

Expand Down

0 comments on commit 3218c6c

Please sign in to comment.