This repository has been archived by the owner on Jan 17, 2023. It is now read-only.
My logo he doesn't bump #206
Unanswered
DeadlyneDev
asked this question in
Q&A
Replies: 1 comment 1 reply
-
everything's wrong here. The script for it should be:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
my logo doesen't bump pls help me:
the script:
import("LoadingState");
var crafterEngineLogo:FlxSprite = null;
var BackgroudTilte:FlxSprite;
function create() {
}
var danced = true;
function beatHit() {
crafterEngineLogo.animation.play(danced ? "bump" : "bump");
danced = !danced;
}
function update(elapsed:Float) {
if (FlxG.mouse.justPressed) {
var pos = FlxG.mouse.getScreenPosition();
if (pos.x >= 9 && pos.x < 186 && pos.y >= 238 && pos.y < 411) {
// gray you fucking genius
CoolUtil.loadSong("YoshiCrafterEngine", "yoshi", "normal");
LoadingState.loadAndSwitchState(new PlayState_());
}
}
}
Beta Was this translation helpful? Give feedback.
All reactions