ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.15k stars 2.22k forks source link

LogoBumpin Tween up when loaded #15936

Open QEX-DE3 opened 3 days ago

QEX-DE3 commented 3 days ago

Describe your problem here.

I want my logo when loaded in titlestate to tween upwards smoothly

Kinda like Mexifloors but instead of going down it goes up

(using psych 0.7.2 btw)

Are you modding a build from source or with Lua?

Source

What is your build target?

Windows x64

Did you edit anything in this build? If so, mention or summarize your changes.

Too much stuff to list

Shadow06735 commented 2 days ago

first, you want to replace the logo Bl = new flxsprite line with this: logoBl = new FlxSprite(-150, 1500);

then, add this line between the flxg.camera.flash and the var easteregg thingy: FlxTween.tween(logoBl, {y: 10}, 1.4, {ease: FlxEase.expoInOut});

that should look something like this:

FlxG.camera.flash(FlxColor.WHITE, 1);

FlxTween.tween(logoBl, {y: 10}, 1.4, {ease: FlxEase.expoInOut});

var easteregg:String = FlxG.save.data.psychDevsEasterEgg;