diff --git a/art/flashFiles/petals_animation.fla b/art/flashFiles/petals_animation.fla new file mode 100644 index 000000000..81243e8be Binary files /dev/null and b/art/flashFiles/petals_animation.fla differ diff --git a/assets/images/weeb/bfPixelsDEAD.png b/assets/images/weeb/bfPixelsDEAD.png index db11da6f9..71c4321e5 100644 Binary files a/assets/images/weeb/bfPixelsDEAD.png and b/assets/images/weeb/bfPixelsDEAD.png differ diff --git a/assets/images/weeb/bfPixelsDEAD.xml b/assets/images/weeb/bfPixelsDEAD.xml index a820ebe9b..2d741ca68 100644 --- a/assets/images/weeb/bfPixelsDEAD.xml +++ b/assets/images/weeb/bfPixelsDEAD.xml @@ -2,130 +2,130 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/weeb/petals.png b/assets/images/weeb/petals.png new file mode 100644 index 000000000..ade1b5fd2 Binary files /dev/null and b/assets/images/weeb/petals.png differ diff --git a/assets/images/weeb/petals.xml b/assets/images/weeb/petals.xml new file mode 100644 index 000000000..2f24d1473 --- /dev/null +++ b/assets/images/weeb/petals.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/weeb/weebTrees.png b/assets/images/weeb/weebTrees.png index 6cf981dd7..a37f1af10 100644 Binary files a/assets/images/weeb/weebTrees.png and b/assets/images/weeb/weebTrees.png differ diff --git a/assets/images/weeb/weebTrees.txt b/assets/images/weeb/weebTrees.txt new file mode 100644 index 000000000..7846c0084 --- /dev/null +++ b/assets/images/weeb/weebTrees.txt @@ -0,0 +1,20 @@ +trees_0 = 0 0 512 512 +trees_1 = 513 0 512 512 +trees_2 = 1539 1026 512 512 +trees_3 = 2052 513 512 512 +trees_4 = 2565 0 512 512 +trees_5 = 3078 0 512 512 +trees_6 = 2565 513 512 512 +trees_7 = 2052 1026 512 512 +trees_8 = 2565 1026 512 512 +trees_9 = 3078 513 512 512 +trees_10 = 1026 0 512 512 +trees_11 = 0 513 512 512 +trees_12 = 513 513 512 512 +trees_13 = 0 1026 512 512 +trees_14 = 513 1026 512 512 +trees_15 = 1026 513 512 512 +trees_16 = 1026 1026 512 512 +trees_17 = 1539 0 512 512 +trees_18 = 1539 513 512 512 +trees_19 = 2052 0 512 512 \ No newline at end of file diff --git a/source/Character.hx b/source/Character.hx index 4e3ca03e1..63430fa4c 100644 --- a/source/Character.hx +++ b/source/Character.hx @@ -392,10 +392,11 @@ class Character extends FlxSprite animation.addByPrefix('deathLoop', "Retry Loop", 24, true); animation.addByPrefix('deathConfirm', "RETRY CONFIRM", 24, false); animation.play('firstDeath'); - addOffset('firstDeath'); - addOffset('deathLoop'); - addOffset('deathConfirm'); + addOffset('firstDeath'); + addOffset('deathLoop', -37); + addOffset('deathConfirm', -37); + playAnim('firstDeath'); // pixel bullshit setGraphicSize(Std.int(width * 6)); updateHitbox(); diff --git a/source/PlayState.hx b/source/PlayState.hx index 41732f1b8..3c3f1df7a 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -331,7 +331,7 @@ class PlayState extends MusicBeatState evilSnow.antialiasing = true; add(evilSnow); } - else if (SONG.song.toLowerCase() == 'senpai' || SONG.song.toLowerCase() == 'roses') + else if (SONG.song.toLowerCase() == 'senpai' || SONG.song.toLowerCase() == 'roses' || SONG.song.toLowerCase() == 'thorns') { curStage = 'school'; @@ -343,37 +343,50 @@ class PlayState extends MusicBeatState var repositionShit = -200; - var bgSchool:FlxSprite = new FlxSprite(repositionShit).loadGraphic('assets/images/weeb/weebSchool.png'); - bgSchool.scrollFactor.set(0.6, 0.6); + var bgSchool:FlxSprite = new FlxSprite(repositionShit, 0).loadGraphic('assets/images/weeb/weebSchool.png'); + bgSchool.scrollFactor.set(0.6, 0.90); add(bgSchool); var bgStreet:FlxSprite = new FlxSprite(repositionShit).loadGraphic('assets/images/weeb/weebStreet.png'); bgStreet.scrollFactor.set(0.95, 0.95); add(bgStreet); - var bgTrees:FlxSprite = new FlxSprite(repositionShit).loadGraphic('assets/images/weeb/weebTreesBack.png'); + var fgTrees:FlxSprite = new FlxSprite(repositionShit + 170, 130).loadGraphic('assets/images/weeb/weebTreesBack.png'); + fgTrees.scrollFactor.set(0.9, 0.9); + add(fgTrees); + + var bgTrees:FlxSprite = new FlxSprite(repositionShit - 380, -800); + var treetex = FlxAtlasFrames.fromSpriteSheetPacker('assets/images/weeb/weebTrees.png', 'assets/images/weeb/weebTrees.txt'); + bgTrees.frames = treetex; + bgTrees.animation.add('treeLoop', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], 12); + bgTrees.animation.play('treeLoop'); bgTrees.scrollFactor.set(0.85, 0.85); add(bgTrees); - var fgTrees:FlxSprite = new FlxSprite(repositionShit).loadGraphic('assets/images/weeb/weebTrees.png'); - fgTrees.scrollFactor.set(0.9, 0.9); - add(fgTrees); + var treeLeaves:FlxSprite = new FlxSprite(repositionShit, -40); + treeLeaves.frames = FlxAtlasFrames.fromSparrow('assets/images/weeb/petals.png', 'assets/images/weeb/petals.xml'); + treeLeaves.animation.addByPrefix('leaves', 'PETALS ALL', 24, true); + treeLeaves.animation.play('leaves'); + treeLeaves.scrollFactor.set(0.85, 0.85); + add(treeLeaves); var widShit = Std.int(bgSky.width * 6); bgSky.setGraphicSize(widShit); bgSchool.setGraphicSize(widShit); bgStreet.setGraphicSize(widShit); - bgTrees.setGraphicSize(widShit); - fgTrees.setGraphicSize(widShit); + bgTrees.setGraphicSize(Std.int(widShit * 1.4)); + fgTrees.setGraphicSize(Std.int(widShit * 0.8)); + treeLeaves.setGraphicSize(widShit); fgTrees.updateHitbox(); bgSky.updateHitbox(); bgSchool.updateHitbox(); bgStreet.updateHitbox(); bgTrees.updateHitbox(); + treeLeaves.updateHitbox(); - bgGirls = new BackgroundGirls(-100, 120); + bgGirls = new BackgroundGirls(-100, 190); bgGirls.scrollFactor.set(0.9, 0.9); bgGirls.setGraphicSize(Std.int(bgGirls.width * daPixelZoom)); @@ -466,7 +479,8 @@ class PlayState extends MusicBeatState dad.x -= 500; case 'senpai': dad.x += 150; - dad.y += 300; + dad.y += 360; + camPos.set(dad.getGraphicMidpoint().x + 300, dad.getGraphicMidpoint().y); } boyfriend = new Boyfriend(770, 450, SONG.player1); @@ -489,10 +503,10 @@ class PlayState extends MusicBeatState boyfriend.x += 320; dad.y -= 80; case 'school': - boyfriend.x += 170; - boyfriend.y += 120; - gf.x += 100; - gf.y += 200; + boyfriend.x += 200; + boyfriend.y += 220; + gf.x += 180; + gf.y += 300; } var doof:DialogueBox = new DialogueBox(false, dialogue); @@ -525,6 +539,7 @@ class PlayState extends MusicBeatState FlxG.camera.follow(camFollow, LOCKON, 0.04); // FlxG.camera.setScrollBounds(0, FlxG.width, 0, FlxG.height); FlxG.camera.zoom = defaultCamZoom; + FlxG.camera.focusOn(camFollow.getPosition()); FlxG.worldBounds.set(0, 0, FlxG.width, FlxG.height); @@ -1185,6 +1200,7 @@ class PlayState extends MusicBeatState camFollow.y = boyfriend.getMidpoint().y - 200; case 'school': camFollow.x = boyfriend.getMidpoint().x - 200; + camFollow.y = boyfriend.getMidpoint().y - 200; } if (SONG.song.toLowerCase() == 'tutorial') diff --git a/source/TitleState.hx b/source/TitleState.hx index cbdb2a005..53452e45c 100644 --- a/source/TitleState.hx +++ b/source/TitleState.hx @@ -398,10 +398,6 @@ class TitleState extends MusicBeatState FlxG.camera.flash(FlxColor.WHITE, 4); remove(credGroup); skippedIntro = true; - - var image = Assets.getBitmapData('assets/images/alphabet.png'); - var money = new FlxSprite(0, 0, image); - add(money); } } }