mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-24 07:43:56 +00:00
new note spritesheets
This commit is contained in:
parent
be5907ba12
commit
01065e54d5
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue