From 2063d00b5d156738412a6a0cdcee9cc6bb9cb93b Mon Sep 17 00:00:00 2001 From: George FunBook Date: Fri, 8 Jan 2021 14:01:59 -0600 Subject: [PATCH] fix pico asset paths --- source/Character.hx | 2 +- source/PlayState.hx | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/Character.hx b/source/Character.hx index 255fcdc3a..09af0eb9c 100644 --- a/source/Character.hx +++ b/source/Character.hx @@ -131,7 +131,7 @@ class Character extends FlxSprite addOffset("singDOWN", -30, -40); playAnim('idle'); case 'pico': - tex = FlxAtlasFrames.fromSparrow('assets/images/.Pico_FNF_assetss.png', 'assets/images/Pico_FNF_assetss.xml'); + tex = FlxAtlasFrames.fromSparrow('assets/images/Pico_FNF_assetss.png', 'assets/images/Pico_FNF_assetss.xml'); frames = tex; animation.addByPrefix('idle', "Pico Idle Dance", 24); animation.addByPrefix('singUP', 'pico Up note0', 24, false); diff --git a/source/PlayState.hx b/source/PlayState.hx index bef9e30db..8f7d2e613 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -163,11 +163,11 @@ class PlayState extends MusicBeatState { curStage = 'philly'; - var bg:FlxSprite = new FlxSprite(-100).loadGraphic('assets/images/sky.png'); + var bg:FlxSprite = new FlxSprite(-100).loadGraphic('assets/images/philly/sky.png'); bg.scrollFactor.set(0.1, 0.1); add(bg); - var city:FlxSprite = new FlxSprite(-10).loadGraphic('assets/images/city.png'); + var city:FlxSprite = new FlxSprite(-10).loadGraphic('assets/images/philly/city.png'); city.scrollFactor.set(0.3, 0.3); city.setGraphicSize(Std.int(city.width * 0.85)); city.updateHitbox(); @@ -186,10 +186,10 @@ class PlayState extends MusicBeatState phillyCityLights.add(light); } - var streetBehind:FlxSprite = new FlxSprite(-40, 50).loadGraphic('assets/images/behindTrain.png'); + var streetBehind:FlxSprite = new FlxSprite(-40, 50).loadGraphic('assets/images/philly/behindTrain.png'); add(streetBehind); - phillyTrain = new FlxSprite(2000, 360).loadGraphic('assets/images/train.png'); + phillyTrain = new FlxSprite(2000, 360).loadGraphic('assets/images/philly/train.png'); add(phillyTrain); trainSound = new FlxSound().loadEmbedded('assets/sounds/train_passes' + TitleState.soundExt); @@ -197,7 +197,7 @@ class PlayState extends MusicBeatState // var cityLights:FlxSprite = new FlxSprite().loadGraphic(AssetPaths.win0.png); - var street:FlxSprite = new FlxSprite(-40, streetBehind.y).loadGraphic('assets/images/street.png'); + var street:FlxSprite = new FlxSprite(-40, streetBehind.y).loadGraphic('assets/images/philly/street.png'); add(street); } else if (SONG.song.toLowerCase() == 'milf' || SONG.song.toLowerCase() == 'satin-panties' || SONG.song.toLowerCase() == 'high')