1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-10 00:34:40 +00:00

new note spritesheets

This commit is contained in:
Cameron Taylor 2021-03-20 00:48:17 -04:00
parent be5907ba12
commit 01065e54d5

View file

@ -138,6 +138,7 @@ class TitleState extends MusicBeatState
// bg.antialiasing = true; // bg.antialiasing = true;
// bg.setGraphicSize(Std.int(bg.width * 0.6)); // bg.setGraphicSize(Std.int(bg.width * 0.6));
// bg.updateHitbox(); // bg.updateHitbox();
add(bg); add(bg);
logoBl = new FlxSprite(-150, -100); logoBl = new FlxSprite(-150, -100);
@ -146,6 +147,8 @@ class TitleState extends MusicBeatState
logoBl.animation.addByPrefix('bump', 'logo bumpin', 24); logoBl.animation.addByPrefix('bump', 'logo bumpin', 24);
logoBl.animation.play('bump'); logoBl.animation.play('bump');
logoBl.updateHitbox(); logoBl.updateHitbox();
// trace();
// logoBl.screenCenter(); // logoBl.screenCenter();
// logoBl.color = FlxColor.BLACK; // logoBl.color = FlxColor.BLACK;
@ -357,6 +360,7 @@ class TitleState extends MusicBeatState
super.beatHit(); super.beatHit();
logoBl.animation.play('bump', true); logoBl.animation.play('bump', true);
danceLeft = !danceLeft; danceLeft = !danceLeft;
if (danceLeft) if (danceLeft)