mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-27 17:33:03 +00:00
fix pico asset paths
This commit is contained in:
parent
a7cea54ab0
commit
2063d00b5d
|
@ -131,7 +131,7 @@ class Character extends FlxSprite
|
||||||
addOffset("singDOWN", -30, -40);
|
addOffset("singDOWN", -30, -40);
|
||||||
playAnim('idle');
|
playAnim('idle');
|
||||||
case 'pico':
|
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;
|
frames = tex;
|
||||||
animation.addByPrefix('idle', "Pico Idle Dance", 24);
|
animation.addByPrefix('idle', "Pico Idle Dance", 24);
|
||||||
animation.addByPrefix('singUP', 'pico Up note0', 24, false);
|
animation.addByPrefix('singUP', 'pico Up note0', 24, false);
|
||||||
|
|
|
@ -163,11 +163,11 @@ class PlayState extends MusicBeatState
|
||||||
{
|
{
|
||||||
curStage = 'philly';
|
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);
|
bg.scrollFactor.set(0.1, 0.1);
|
||||||
add(bg);
|
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.scrollFactor.set(0.3, 0.3);
|
||||||
city.setGraphicSize(Std.int(city.width * 0.85));
|
city.setGraphicSize(Std.int(city.width * 0.85));
|
||||||
city.updateHitbox();
|
city.updateHitbox();
|
||||||
|
@ -186,10 +186,10 @@ class PlayState extends MusicBeatState
|
||||||
phillyCityLights.add(light);
|
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);
|
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);
|
add(phillyTrain);
|
||||||
|
|
||||||
trainSound = new FlxSound().loadEmbedded('assets/sounds/train_passes' + TitleState.soundExt);
|
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 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);
|
add(street);
|
||||||
}
|
}
|
||||||
else if (SONG.song.toLowerCase() == 'milf' || SONG.song.toLowerCase() == 'satin-panties' || SONG.song.toLowerCase() == 'high')
|
else if (SONG.song.toLowerCase() == 'milf' || SONG.song.toLowerCase() == 'satin-panties' || SONG.song.toLowerCase() == 'high')
|
||||||
|
|
Loading…
Reference in a new issue