assets, and switch statement so i dont get roasted
|
@ -39,3 +39,4 @@ pico funny--pico funny
|
||||||
updates each friday--on time every time
|
updates each friday--on time every time
|
||||||
shoutouts to mason--for da homies
|
shoutouts to mason--for da homies
|
||||||
bonk--get in the discord call
|
bonk--get in the discord call
|
||||||
|
youtube search--DAnMLkteUHk
|
||||||
|
|
BIN
assets/week7/images/smokeLeft.png
Normal file
After Width: | Height: | Size: 2.5 MiB |
53
assets/week7/images/smokeLeft.xml
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<TextureAtlas imagePath="smokeLeft.png">
|
||||||
|
<!-- Created with Adobe Animate version 21.0.0.35450 -->
|
||||||
|
<!-- http://www.adobe.com/products/animate.html -->
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10000" x="1005" y="812" width="446" height="617" frameX="-43" frameY="-204" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10001" x="1005" y="812" width="446" height="617" frameX="-43" frameY="-204" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10002" x="1005" y="812" width="446" height="617" frameX="-43" frameY="-204" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10003" x="0" y="801" width="467" height="655" frameX="-28" frameY="-177" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10004" x="0" y="801" width="467" height="655" frameX="-28" frameY="-177" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10005" x="0" y="801" width="467" height="655" frameX="-28" frameY="-177" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10006" x="1505" y="786" width="481" height="673" frameX="-15" frameY="-151" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10007" x="1505" y="786" width="481" height="673" frameX="-15" frameY="-151" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10008" x="1505" y="786" width="481" height="673" frameX="-15" frameY="-151" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10009" x="2981" y="752" width="487" height="724" frameX="0" frameY="-119" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10010" x="2981" y="752" width="487" height="724" frameX="0" frameY="-119" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10011" x="2981" y="752" width="487" height="724" frameX="0" frameY="-119" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10012" x="2011" y="779" width="472" height="736" frameX="-11" frameY="-83" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10013" x="2011" y="779" width="472" height="736" frameX="-11" frameY="-83" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10014" x="2011" y="779" width="472" height="736" frameX="-11" frameY="-83" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10015" x="2981" y="0" width="477" height="741" frameX="-7" frameY="-68" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10016" x="2981" y="0" width="477" height="741" frameX="-7" frameY="-68" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10017" x="2981" y="0" width="477" height="741" frameX="-7" frameY="-68" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10018" x="3478" y="752" width="472" height="741" frameX="-19" frameY="-56" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10019" x="3478" y="752" width="472" height="741" frameX="-19" frameY="-56" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10020" x="3478" y="752" width="472" height="741" frameX="-19" frameY="-56" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10021" x="3468" y="0" width="476" height="742" frameX="-22" frameY="-58" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10022" x="3468" y="0" width="476" height="742" frameX="-22" frameY="-58" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10023" x="3468" y="0" width="476" height="742" frameX="-22" frameY="-58" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10024" x="2011" y="0" width="479" height="769" frameX="-21" frameY="-33" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10025" x="2011" y="0" width="479" height="769" frameX="-21" frameY="-33" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10026" x="2011" y="0" width="479" height="769" frameX="-21" frameY="-33" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10027" x="1505" y="0" width="496" height="776" frameX="-9" frameY="-23" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10028" x="1505" y="0" width="496" height="776" frameX="-9" frameY="-23" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10029" x="1505" y="0" width="496" height="776" frameX="-9" frameY="-23" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10030" x="0" y="0" width="498" height="791" frameX="-13" frameY="-11" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10031" x="0" y="0" width="498" height="791" frameX="-13" frameY="-11" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10032" x="0" y="0" width="498" height="791" frameX="-13" frameY="-11" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10033" x="1005" y="0" width="490" height="802" frameX="-17" frameY="-5" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10034" x="1005" y="0" width="490" height="802" frameX="-17" frameY="-5" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10035" x="1005" y="0" width="490" height="802" frameX="-17" frameY="-5" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10036" x="508" y="0" width="487" height="808" frameX="-21" frameY="0" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10037" x="508" y="0" width="487" height="808" frameX="-21" frameY="0" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10038" x="508" y="0" width="487" height="808" frameX="-21" frameY="0" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10039" x="2500" y="0" width="471" height="770" frameX="-25" frameY="-39" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10040" x="2500" y="0" width="471" height="770" frameX="-25" frameY="-39" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10041" x="2500" y="0" width="471" height="770" frameX="-25" frameY="-39" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10042" x="2493" y="780" width="447" height="775" frameX="-30" frameY="-37" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10043" x="2493" y="780" width="447" height="775" frameX="-30" frameY="-37" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10044" x="2493" y="780" width="447" height="775" frameX="-30" frameY="-37" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10045" x="477" y="818" width="452" height="602" frameX="-29" frameY="-217" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10046" x="477" y="818" width="452" height="602" frameX="-29" frameY="-217" frameWidth="511" frameHeight="843"/>
|
||||||
|
<SubTexture name="SmokeBlurLeft instance 10047" x="477" y="818" width="452" height="602" frameX="-29" frameY="-217" frameWidth="511" frameHeight="843"/>
|
||||||
|
</TextureAtlas>
|
BIN
assets/week7/images/smokeRight.png
Normal file
After Width: | Height: | Size: 2.6 MiB |
53
assets/week7/images/smokeRight.xml
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<TextureAtlas imagePath="smokeRight.png">
|
||||||
|
<!-- Created with Adobe Animate version 21.0.0.35450 -->
|
||||||
|
<!-- http://www.adobe.com/products/animate.html -->
|
||||||
|
<SubTexture name="SmokeRight instance 10000" x="0" y="897" width="533" height="885" frameX="-35" frameY="-47" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10001" x="1619" y="0" width="510" height="871" frameX="-38" frameY="-40" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10002" x="1619" y="0" width="510" height="871" frameX="-38" frameY="-40" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10003" x="1619" y="0" width="510" height="871" frameX="-38" frameY="-40" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10004" x="0" y="1792" width="501" height="871" frameX="-35" frameY="-32" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10005" x="0" y="1792" width="501" height="871" frameX="-35" frameY="-32" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10006" x="0" y="1792" width="501" height="871" frameX="-35" frameY="-32" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10007" x="1087" y="899" width="524" height="876" frameX="-24" frameY="-22" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10008" x="1087" y="899" width="524" height="876" frameX="-24" frameY="-22" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10009" x="1087" y="899" width="524" height="876" frameX="-24" frameY="-22" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10010" x="543" y="899" width="534" height="882" frameX="-16" frameY="-12" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10011" x="543" y="899" width="534" height="882" frameX="-16" frameY="-12" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10012" x="543" y="899" width="534" height="882" frameX="-16" frameY="-12" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10013" x="0" y="0" width="542" height="887" frameX="-2" frameY="-6" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10014" x="0" y="0" width="542" height="887" frameX="-2" frameY="-6" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10015" x="0" y="0" width="542" height="887" frameX="-2" frameY="-6" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10016" x="552" y="0" width="538" height="889" frameX="0" frameY="0" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10017" x="552" y="0" width="538" height="889" frameX="0" frameY="0" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10018" x="552" y="0" width="538" height="889" frameX="0" frameY="0" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10019" x="1621" y="881" width="535" height="830" frameX="0" frameY="-57" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10020" x="1621" y="881" width="535" height="830" frameX="0" frameY="-57" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10021" x="1621" y="881" width="535" height="830" frameX="0" frameY="-57" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10022" x="1621" y="1721" width="526" height="834" frameX="-5" frameY="-52" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10023" x="1621" y="1721" width="526" height="834" frameX="-5" frameY="-52" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10024" x="1621" y="1721" width="526" height="834" frameX="-5" frameY="-52" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10025" x="511" y="1792" width="525" height="815" frameX="-14" frameY="-68" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10026" x="511" y="1792" width="525" height="815" frameX="-14" frameY="-68" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10027" x="511" y="1792" width="525" height="815" frameX="-14" frameY="-68" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10028" x="2157" y="1721" width="515" height="738" frameX="-17" frameY="-146" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10029" x="2157" y="1721" width="515" height="738" frameX="-17" frameY="-146" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10030" x="2157" y="1721" width="515" height="738" frameX="-17" frameY="-146" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10031" x="2668" y="765" width="443" height="676" frameX="-32" frameY="-196" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10032" x="2668" y="765" width="443" height="676" frameX="-32" frameY="-196" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10033" x="2668" y="765" width="443" height="676" frameX="-32" frameY="-196" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10034" x="2668" y="0" width="481" height="755" frameX="-47" frameY="-149" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10035" x="2668" y="0" width="481" height="755" frameX="-47" frameY="-149" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10036" x="2668" y="0" width="481" height="755" frameX="-47" frameY="-149" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10037" x="1046" y="1791" width="508" height="802" frameX="-50" frameY="-121" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10038" x="1046" y="1791" width="508" height="802" frameX="-50" frameY="-121" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10039" x="1046" y="1791" width="508" height="802" frameX="-50" frameY="-121" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10040" x="2139" y="0" width="519" height="851" frameX="-37" frameY="-80" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10041" x="2139" y="0" width="519" height="851" frameX="-37" frameY="-80" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10042" x="2139" y="0" width="519" height="851" frameX="-37" frameY="-80" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10043" x="1100" y="0" width="509" height="878" frameX="-36" frameY="-60" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10044" x="1100" y="0" width="509" height="878" frameX="-36" frameY="-60" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10045" x="1100" y="0" width="509" height="878" frameX="-36" frameY="-60" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10046" x="0" y="897" width="533" height="885" frameX="-35" frameY="-47" frameWidth="568" frameHeight="938"/>
|
||||||
|
<SubTexture name="SmokeRight instance 10047" x="0" y="897" width="533" height="885" frameX="-35" frameY="-47" frameWidth="568" frameHeight="938"/>
|
||||||
|
</TextureAtlas>
|
BIN
assets/week7/images/tankBuildings.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
assets/week7/images/tankClouds.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
assets/week7/images/tankGround.png
Normal file
After Width: | Height: | Size: 162 KiB |
BIN
assets/week7/images/tankMountains.png
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
assets/week7/images/tankRuins.png
Normal file
After Width: | Height: | Size: 552 KiB |
BIN
assets/week7/images/tankSky.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
assets/week7/images/tankWatchtower.png
Normal file
After Width: | Height: | Size: 75 KiB |
|
@ -174,272 +174,256 @@ class PlayState extends MusicBeatState
|
||||||
dialogue = CoolUtil.coolTextFile(Paths.txt('thorns/thornsDialogue'));
|
dialogue = CoolUtil.coolTextFile(Paths.txt('thorns/thornsDialogue'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SONG.song.toLowerCase() == 'spookeez' || SONG.song.toLowerCase() == 'monster' || SONG.song.toLowerCase() == 'south')
|
switch (Song.song.toLowerCase())
|
||||||
{
|
{
|
||||||
curStage = "spooky";
|
case 'spookeez' | 'monster' | 'south':
|
||||||
halloweenLevel = true;
|
curStage = "spooky";
|
||||||
|
halloweenLevel = true;
|
||||||
|
|
||||||
var hallowTex = Paths.getSparrowAtlas('halloween_bg');
|
var hallowTex = Paths.getSparrowAtlas('halloween_bg');
|
||||||
|
|
||||||
halloweenBG = new FlxSprite(-200, -100);
|
halloweenBG = new FlxSprite(-200, -100);
|
||||||
halloweenBG.frames = hallowTex;
|
halloweenBG.frames = hallowTex;
|
||||||
halloweenBG.animation.addByPrefix('idle', 'halloweem bg0');
|
halloweenBG.animation.addByPrefix('idle', 'halloweem bg0');
|
||||||
halloweenBG.animation.addByPrefix('lightning', 'halloweem bg lightning strike', 24, false);
|
halloweenBG.animation.addByPrefix('lightning', 'halloweem bg lightning strike', 24, false);
|
||||||
halloweenBG.animation.play('idle');
|
halloweenBG.animation.play('idle');
|
||||||
halloweenBG.antialiasing = true;
|
halloweenBG.antialiasing = true;
|
||||||
add(halloweenBG);
|
add(halloweenBG);
|
||||||
|
|
||||||
isHalloween = true;
|
isHalloween = true;
|
||||||
}
|
case 'pico' | 'blammed' | 'philly':
|
||||||
else if (SONG.song.toLowerCase() == 'pico' || SONG.song.toLowerCase() == 'blammed' || SONG.song.toLowerCase() == 'philly')
|
curStage = 'philly';
|
||||||
{
|
|
||||||
curStage = 'philly';
|
|
||||||
|
|
||||||
var bg:FlxSprite = new FlxSprite(-100).loadGraphic(Paths.image('philly/sky'));
|
var bg:FlxSprite = new FlxSprite(-100).loadGraphic(Paths.image('philly/sky'));
|
||||||
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(Paths.image('philly/city'));
|
var city:FlxSprite = new FlxSprite(-10).loadGraphic(Paths.image('philly/city'));
|
||||||
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();
|
||||||
add(city);
|
add(city);
|
||||||
|
|
||||||
phillyCityLights = new FlxTypedGroup<FlxSprite>();
|
phillyCityLights = new FlxTypedGroup<FlxSprite>();
|
||||||
add(phillyCityLights);
|
add(phillyCityLights);
|
||||||
|
|
||||||
for (i in 0...5)
|
for (i in 0...5)
|
||||||
{
|
{
|
||||||
var light:FlxSprite = new FlxSprite(city.x).loadGraphic(Paths.image('philly/win' + i));
|
var light:FlxSprite = new FlxSprite(city.x).loadGraphic(Paths.image('philly/win' + i));
|
||||||
light.scrollFactor.set(0.3, 0.3);
|
light.scrollFactor.set(0.3, 0.3);
|
||||||
light.visible = false;
|
light.visible = false;
|
||||||
light.setGraphicSize(Std.int(light.width * 0.85));
|
light.setGraphicSize(Std.int(light.width * 0.85));
|
||||||
light.updateHitbox();
|
light.updateHitbox();
|
||||||
light.antialiasing = true;
|
light.antialiasing = true;
|
||||||
phillyCityLights.add(light);
|
phillyCityLights.add(light);
|
||||||
}
|
}
|
||||||
|
|
||||||
var streetBehind:FlxSprite = new FlxSprite(-40, 50).loadGraphic(Paths.image('philly/behindTrain'));
|
var streetBehind:FlxSprite = new FlxSprite(-40, 50).loadGraphic(Paths.image('philly/behindTrain'));
|
||||||
add(streetBehind);
|
add(streetBehind);
|
||||||
|
|
||||||
phillyTrain = new FlxSprite(2000, 360).loadGraphic(Paths.image('philly/train'));
|
phillyTrain = new FlxSprite(2000, 360).loadGraphic(Paths.image('philly/train'));
|
||||||
add(phillyTrain);
|
add(phillyTrain);
|
||||||
|
|
||||||
trainSound = new FlxSound().loadEmbedded(Paths.sound('train_passes'));
|
trainSound = new FlxSound().loadEmbedded(Paths.sound('train_passes'));
|
||||||
FlxG.sound.list.add(trainSound);
|
FlxG.sound.list.add(trainSound);
|
||||||
|
|
||||||
// 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(Paths.image('philly/street'));
|
var street:FlxSprite = new FlxSprite(-40, streetBehind.y).loadGraphic(Paths.image('philly/street'));
|
||||||
add(street);
|
add(street);
|
||||||
}
|
case "milf" | 'satin-panties' | 'high':
|
||||||
else if (SONG.song.toLowerCase() == 'milf' || SONG.song.toLowerCase() == 'satin-panties' || SONG.song.toLowerCase() == 'high')
|
curStage = 'limo';
|
||||||
{
|
defaultCamZoom = 0.90;
|
||||||
curStage = 'limo';
|
|
||||||
defaultCamZoom = 0.90;
|
|
||||||
|
|
||||||
var skyBG:FlxSprite = new FlxSprite(-120, -50).loadGraphic(Paths.image('limo/limoSunset'));
|
var skyBG:FlxSprite = new FlxSprite(-120, -50).loadGraphic(Paths.image('limo/limoSunset'));
|
||||||
skyBG.scrollFactor.set(0.1, 0.1);
|
skyBG.scrollFactor.set(0.1, 0.1);
|
||||||
add(skyBG);
|
add(skyBG);
|
||||||
|
|
||||||
var bgLimo:FlxSprite = new FlxSprite(-200, 480);
|
var bgLimo:FlxSprite = new FlxSprite(-200, 480);
|
||||||
bgLimo.frames = Paths.getSparrowAtlas('limo/bgLimo');
|
bgLimo.frames = Paths.getSparrowAtlas('limo/bgLimo');
|
||||||
bgLimo.animation.addByPrefix('drive', "background limo pink", 24);
|
bgLimo.animation.addByPrefix('drive', "background limo pink", 24);
|
||||||
bgLimo.animation.play('drive');
|
bgLimo.animation.play('drive');
|
||||||
bgLimo.scrollFactor.set(0.4, 0.4);
|
bgLimo.scrollFactor.set(0.4, 0.4);
|
||||||
add(bgLimo);
|
add(bgLimo);
|
||||||
|
|
||||||
grpLimoDancers = new FlxTypedGroup<BackgroundDancer>();
|
grpLimoDancers = new FlxTypedGroup<BackgroundDancer>();
|
||||||
add(grpLimoDancers);
|
add(grpLimoDancers);
|
||||||
|
|
||||||
for (i in 0...5)
|
for (i in 0...5)
|
||||||
{
|
{
|
||||||
var dancer:BackgroundDancer = new BackgroundDancer((370 * i) + 130, bgLimo.y - 400);
|
var dancer:BackgroundDancer = new BackgroundDancer((370 * i) + 130, bgLimo.y - 400);
|
||||||
dancer.scrollFactor.set(0.4, 0.4);
|
dancer.scrollFactor.set(0.4, 0.4);
|
||||||
grpLimoDancers.add(dancer);
|
grpLimoDancers.add(dancer);
|
||||||
}
|
}
|
||||||
|
|
||||||
var overlayShit:FlxSprite = new FlxSprite(-500, -600).loadGraphic(Paths.image('limo/limoOverlay'));
|
var overlayShit:FlxSprite = new FlxSprite(-500, -600).loadGraphic(Paths.image('limo/limoOverlay'));
|
||||||
overlayShit.alpha = 0.5;
|
overlayShit.alpha = 0.5;
|
||||||
// add(overlayShit);
|
// add(overlayShit);
|
||||||
|
// var shaderBullshit = new BlendModeEffect(new OverlayShader(), FlxColor.RED);
|
||||||
|
// FlxG.camera.setFilters([new ShaderFilter(cast shaderBullshit.shader)]);
|
||||||
|
// overlayShit.shader = shaderBullshit;
|
||||||
|
|
||||||
// var shaderBullshit = new BlendModeEffect(new OverlayShader(), FlxColor.RED);
|
limo = new FlxSprite(-120, 550);
|
||||||
|
limo.frames = Paths.getSparrowAtlas('limo/limoDrive');
|
||||||
|
limo.animation.addByPrefix('drive', "Limo stage", 24);
|
||||||
|
limo.animation.play('drive');
|
||||||
|
limo.antialiasing = true;
|
||||||
|
|
||||||
// FlxG.camera.setFilters([new ShaderFilter(cast shaderBullshit.shader)]);
|
fastCar = new FlxSprite(-300, 160).loadGraphic(Paths.image('limo/fastCarLol'));
|
||||||
|
|
||||||
// overlayShit.shader = shaderBullshit;
|
|
||||||
|
|
||||||
var limoTex = Paths.getSparrowAtlas('limo/limoDrive');
|
|
||||||
|
|
||||||
limo = new FlxSprite(-120, 550);
|
|
||||||
limo.frames = limoTex;
|
|
||||||
limo.animation.addByPrefix('drive', "Limo stage", 24);
|
|
||||||
limo.animation.play('drive');
|
|
||||||
limo.antialiasing = true;
|
|
||||||
|
|
||||||
fastCar = new FlxSprite(-300, 160).loadGraphic(Paths.image('limo/fastCarLol'));
|
|
||||||
// add(limo);
|
// add(limo);
|
||||||
}
|
case "cocoa" | 'eggnog':
|
||||||
else if (SONG.song.toLowerCase() == 'cocoa' || SONG.song.toLowerCase() == 'eggnog')
|
curStage = 'mall';
|
||||||
{
|
|
||||||
curStage = 'mall';
|
|
||||||
|
|
||||||
defaultCamZoom = 0.80;
|
defaultCamZoom = 0.80;
|
||||||
|
|
||||||
var bg:FlxSprite = new FlxSprite(-1000, -500).loadGraphic(Paths.image('christmas/bgWalls'));
|
var bg:FlxSprite = new FlxSprite(-1000, -500).loadGraphic(Paths.image('christmas/bgWalls'));
|
||||||
bg.antialiasing = true;
|
bg.antialiasing = true;
|
||||||
bg.scrollFactor.set(0.2, 0.2);
|
bg.scrollFactor.set(0.2, 0.2);
|
||||||
bg.active = false;
|
bg.active = false;
|
||||||
bg.setGraphicSize(Std.int(bg.width * 0.8));
|
bg.setGraphicSize(Std.int(bg.width * 0.8));
|
||||||
bg.updateHitbox();
|
bg.updateHitbox();
|
||||||
add(bg);
|
add(bg);
|
||||||
|
|
||||||
upperBoppers = new FlxSprite(-240, -90);
|
upperBoppers = new FlxSprite(-240, -90);
|
||||||
upperBoppers.frames = Paths.getSparrowAtlas('christmas/upperBop');
|
upperBoppers.frames = Paths.getSparrowAtlas('christmas/upperBop');
|
||||||
upperBoppers.animation.addByPrefix('bop', "Upper Crowd Bob", 24, false);
|
upperBoppers.animation.addByPrefix('bop', "Upper Crowd Bob", 24, false);
|
||||||
upperBoppers.antialiasing = true;
|
upperBoppers.antialiasing = true;
|
||||||
upperBoppers.scrollFactor.set(0.33, 0.33);
|
upperBoppers.scrollFactor.set(0.33, 0.33);
|
||||||
upperBoppers.setGraphicSize(Std.int(upperBoppers.width * 0.85));
|
upperBoppers.setGraphicSize(Std.int(upperBoppers.width * 0.85));
|
||||||
upperBoppers.updateHitbox();
|
upperBoppers.updateHitbox();
|
||||||
add(upperBoppers);
|
add(upperBoppers);
|
||||||
|
|
||||||
var bgEscalator:FlxSprite = new FlxSprite(-1100, -600).loadGraphic(Paths.image('christmas/bgEscalator'));
|
var bgEscalator:FlxSprite = new FlxSprite(-1100, -600).loadGraphic(Paths.image('christmas/bgEscalator'));
|
||||||
bgEscalator.antialiasing = true;
|
bgEscalator.antialiasing = true;
|
||||||
bgEscalator.scrollFactor.set(0.3, 0.3);
|
bgEscalator.scrollFactor.set(0.3, 0.3);
|
||||||
bgEscalator.active = false;
|
bgEscalator.active = false;
|
||||||
bgEscalator.setGraphicSize(Std.int(bgEscalator.width * 0.9));
|
bgEscalator.setGraphicSize(Std.int(bgEscalator.width * 0.9));
|
||||||
bgEscalator.updateHitbox();
|
bgEscalator.updateHitbox();
|
||||||
add(bgEscalator);
|
add(bgEscalator);
|
||||||
|
|
||||||
var tree:FlxSprite = new FlxSprite(370, -250).loadGraphic(Paths.image('christmas/christmasTree'));
|
var tree:FlxSprite = new FlxSprite(370, -250).loadGraphic(Paths.image('christmas/christmasTree'));
|
||||||
tree.antialiasing = true;
|
tree.antialiasing = true;
|
||||||
tree.scrollFactor.set(0.40, 0.40);
|
tree.scrollFactor.set(0.40, 0.40);
|
||||||
add(tree);
|
add(tree);
|
||||||
|
|
||||||
bottomBoppers = new FlxSprite(-300, 140);
|
bottomBoppers = new FlxSprite(-300, 140);
|
||||||
bottomBoppers.frames = Paths.getSparrowAtlas('christmas/bottomBop');
|
bottomBoppers.frames = Paths.getSparrowAtlas('christmas/bottomBop');
|
||||||
bottomBoppers.animation.addByPrefix('bop', 'Bottom Level Boppers', 24, false);
|
bottomBoppers.animation.addByPrefix('bop', 'Bottom Level Boppers', 24, false);
|
||||||
bottomBoppers.antialiasing = true;
|
bottomBoppers.antialiasing = true;
|
||||||
bottomBoppers.scrollFactor.set(0.9, 0.9);
|
bottomBoppers.scrollFactor.set(0.9, 0.9);
|
||||||
bottomBoppers.setGraphicSize(Std.int(bottomBoppers.width * 1));
|
bottomBoppers.setGraphicSize(Std.int(bottomBoppers.width * 1));
|
||||||
bottomBoppers.updateHitbox();
|
bottomBoppers.updateHitbox();
|
||||||
add(bottomBoppers);
|
add(bottomBoppers);
|
||||||
|
|
||||||
var fgSnow:FlxSprite = new FlxSprite(-600, 700).loadGraphic(Paths.image('christmas/fgSnow'));
|
var fgSnow:FlxSprite = new FlxSprite(-600, 700).loadGraphic(Paths.image('christmas/fgSnow'));
|
||||||
fgSnow.active = false;
|
fgSnow.active = false;
|
||||||
fgSnow.antialiasing = true;
|
fgSnow.antialiasing = true;
|
||||||
add(fgSnow);
|
add(fgSnow);
|
||||||
|
|
||||||
santa = new FlxSprite(-840, 150);
|
santa = new FlxSprite(-840, 150);
|
||||||
santa.frames = Paths.getSparrowAtlas('christmas/santa');
|
santa.frames = Paths.getSparrowAtlas('christmas/santa');
|
||||||
santa.animation.addByPrefix('idle', 'santa idle in fear', 24, false);
|
santa.animation.addByPrefix('idle', 'santa idle in fear', 24, false);
|
||||||
santa.antialiasing = true;
|
santa.antialiasing = true;
|
||||||
add(santa);
|
add(santa);
|
||||||
}
|
case 'winter-horrorland':
|
||||||
else if (SONG.song.toLowerCase() == 'winter-horrorland')
|
curStage = 'mallEvil';
|
||||||
{
|
var bg:FlxSprite = new FlxSprite(-400, -500).loadGraphic(Paths.image('christmas/evilBG'));
|
||||||
curStage = 'mallEvil';
|
bg.antialiasing = true;
|
||||||
var bg:FlxSprite = new FlxSprite(-400, -500).loadGraphic(Paths.image('christmas/evilBG'));
|
bg.scrollFactor.set(0.2, 0.2);
|
||||||
bg.antialiasing = true;
|
bg.active = false;
|
||||||
bg.scrollFactor.set(0.2, 0.2);
|
bg.setGraphicSize(Std.int(bg.width * 0.8));
|
||||||
bg.active = false;
|
bg.updateHitbox();
|
||||||
bg.setGraphicSize(Std.int(bg.width * 0.8));
|
add(bg);
|
||||||
bg.updateHitbox();
|
|
||||||
add(bg);
|
|
||||||
|
|
||||||
var evilTree:FlxSprite = new FlxSprite(300, -300).loadGraphic(Paths.image('christmas/evilTree'));
|
var evilTree:FlxSprite = new FlxSprite(300, -300).loadGraphic(Paths.image('christmas/evilTree'));
|
||||||
evilTree.antialiasing = true;
|
evilTree.antialiasing = true;
|
||||||
evilTree.scrollFactor.set(0.2, 0.2);
|
evilTree.scrollFactor.set(0.2, 0.2);
|
||||||
add(evilTree);
|
add(evilTree);
|
||||||
|
|
||||||
var evilSnow:FlxSprite = new FlxSprite(-200, 700).loadGraphic(Paths.image("christmas/evilSnow"));
|
var evilSnow:FlxSprite = new FlxSprite(-200, 700).loadGraphic(Paths.image("christmas/evilSnow"));
|
||||||
evilSnow.antialiasing = true;
|
evilSnow.antialiasing = true;
|
||||||
add(evilSnow);
|
add(evilSnow);
|
||||||
}
|
case 'senpai' | 'roses':
|
||||||
else if (SONG.song.toLowerCase() == 'senpai' || SONG.song.toLowerCase() == 'roses')
|
curStage = 'school';
|
||||||
{
|
|
||||||
curStage = 'school';
|
|
||||||
|
|
||||||
// defaultCamZoom = 0.9;
|
// defaultCamZoom = 0.9;
|
||||||
|
|
||||||
var bgSky = new FlxSprite().loadGraphic(Paths.image('weeb/weebSky'));
|
var bgSky = new FlxSprite().loadGraphic(Paths.image('weeb/weebSky'));
|
||||||
bgSky.scrollFactor.set(0.1, 0.1);
|
bgSky.scrollFactor.set(0.1, 0.1);
|
||||||
add(bgSky);
|
add(bgSky);
|
||||||
|
|
||||||
var repositionShit = -200;
|
var repositionShit = -200;
|
||||||
|
|
||||||
var bgSchool:FlxSprite = new FlxSprite(repositionShit, 0).loadGraphic(Paths.image('weeb/weebSchool'));
|
var bgSchool:FlxSprite = new FlxSprite(repositionShit, 0).loadGraphic(Paths.image('weeb/weebSchool'));
|
||||||
bgSchool.scrollFactor.set(0.6, 0.90);
|
bgSchool.scrollFactor.set(0.6, 0.90);
|
||||||
add(bgSchool);
|
add(bgSchool);
|
||||||
|
|
||||||
var bgStreet:FlxSprite = new FlxSprite(repositionShit).loadGraphic(Paths.image('weeb/weebStreet'));
|
var bgStreet:FlxSprite = new FlxSprite(repositionShit).loadGraphic(Paths.image('weeb/weebStreet'));
|
||||||
bgStreet.scrollFactor.set(0.95, 0.95);
|
bgStreet.scrollFactor.set(0.95, 0.95);
|
||||||
add(bgStreet);
|
add(bgStreet);
|
||||||
|
|
||||||
var fgTrees:FlxSprite = new FlxSprite(repositionShit + 170, 130).loadGraphic(Paths.image('weeb/weebTreesBack'));
|
var fgTrees:FlxSprite = new FlxSprite(repositionShit + 170, 130).loadGraphic(Paths.image('weeb/weebTreesBack'));
|
||||||
fgTrees.scrollFactor.set(0.9, 0.9);
|
fgTrees.scrollFactor.set(0.9, 0.9);
|
||||||
add(fgTrees);
|
add(fgTrees);
|
||||||
|
|
||||||
var bgTrees:FlxSprite = new FlxSprite(repositionShit - 380, -800);
|
var bgTrees:FlxSprite = new FlxSprite(repositionShit - 380, -800);
|
||||||
var treetex = Paths.getPackerAtlas('weeb/weebTrees');
|
var treetex = Paths.getPackerAtlas('weeb/weebTrees');
|
||||||
bgTrees.frames = treetex;
|
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.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.animation.play('treeLoop');
|
||||||
bgTrees.scrollFactor.set(0.85, 0.85);
|
bgTrees.scrollFactor.set(0.85, 0.85);
|
||||||
add(bgTrees);
|
add(bgTrees);
|
||||||
|
|
||||||
var treeLeaves:FlxSprite = new FlxSprite(repositionShit, -40);
|
var treeLeaves:FlxSprite = new FlxSprite(repositionShit, -40);
|
||||||
treeLeaves.frames = Paths.getSparrowAtlas('weeb/petals');
|
treeLeaves.frames = Paths.getSparrowAtlas('weeb/petals');
|
||||||
treeLeaves.animation.addByPrefix('leaves', 'PETALS ALL', 24, true);
|
treeLeaves.animation.addByPrefix('leaves', 'PETALS ALL', 24, true);
|
||||||
treeLeaves.animation.play('leaves');
|
treeLeaves.animation.play('leaves');
|
||||||
treeLeaves.scrollFactor.set(0.85, 0.85);
|
treeLeaves.scrollFactor.set(0.85, 0.85);
|
||||||
add(treeLeaves);
|
add(treeLeaves);
|
||||||
|
|
||||||
var widShit = Std.int(bgSky.width * 6);
|
var widShit = Std.int(bgSky.width * 6);
|
||||||
|
|
||||||
bgSky.setGraphicSize(widShit);
|
bgSky.setGraphicSize(widShit);
|
||||||
bgSchool.setGraphicSize(widShit);
|
bgSchool.setGraphicSize(widShit);
|
||||||
bgStreet.setGraphicSize(widShit);
|
bgStreet.setGraphicSize(widShit);
|
||||||
bgTrees.setGraphicSize(Std.int(widShit * 1.4));
|
bgTrees.setGraphicSize(Std.int(widShit * 1.4));
|
||||||
fgTrees.setGraphicSize(Std.int(widShit * 0.8));
|
fgTrees.setGraphicSize(Std.int(widShit * 0.8));
|
||||||
treeLeaves.setGraphicSize(widShit);
|
treeLeaves.setGraphicSize(widShit);
|
||||||
|
|
||||||
fgTrees.updateHitbox();
|
fgTrees.updateHitbox();
|
||||||
bgSky.updateHitbox();
|
bgSky.updateHitbox();
|
||||||
bgSchool.updateHitbox();
|
bgSchool.updateHitbox();
|
||||||
bgStreet.updateHitbox();
|
bgStreet.updateHitbox();
|
||||||
bgTrees.updateHitbox();
|
bgTrees.updateHitbox();
|
||||||
treeLeaves.updateHitbox();
|
treeLeaves.updateHitbox();
|
||||||
|
|
||||||
bgGirls = new BackgroundGirls(-100, 190);
|
bgGirls = new BackgroundGirls(-100, 190);
|
||||||
bgGirls.scrollFactor.set(0.9, 0.9);
|
bgGirls.scrollFactor.set(0.9, 0.9);
|
||||||
|
|
||||||
if (SONG.song.toLowerCase() == 'roses')
|
if (SONG.song.toLowerCase() == 'roses')
|
||||||
{
|
{
|
||||||
bgGirls.getScared();
|
bgGirls.getScared();
|
||||||
}
|
}
|
||||||
|
|
||||||
bgGirls.setGraphicSize(Std.int(bgGirls.width * daPixelZoom));
|
bgGirls.setGraphicSize(Std.int(bgGirls.width * daPixelZoom));
|
||||||
bgGirls.updateHitbox();
|
bgGirls.updateHitbox();
|
||||||
add(bgGirls);
|
add(bgGirls);
|
||||||
}
|
case 'thorns':
|
||||||
else if (SONG.song.toLowerCase() == 'thorns')
|
curStage = 'schoolEvil';
|
||||||
{
|
|
||||||
curStage = 'schoolEvil';
|
|
||||||
|
|
||||||
var waveEffectBG = new FlxWaveEffect(FlxWaveMode.ALL, 2, -1, 3, 2);
|
var waveEffectBG = new FlxWaveEffect(FlxWaveMode.ALL, 2, -1, 3, 2);
|
||||||
var waveEffectFG = new FlxWaveEffect(FlxWaveMode.ALL, 2, -1, 5, 2);
|
var waveEffectFG = new FlxWaveEffect(FlxWaveMode.ALL, 2, -1, 5, 2);
|
||||||
|
|
||||||
var posX = 400;
|
var posX = 400;
|
||||||
var posY = 200;
|
var posY = 200;
|
||||||
|
|
||||||
var bg:FlxSprite = new FlxSprite(posX, posY);
|
var bg:FlxSprite = new FlxSprite(posX, posY);
|
||||||
bg.frames = Paths.getSparrowAtlas('weeb/animatedEvilSchool');
|
bg.frames = Paths.getSparrowAtlas('weeb/animatedEvilSchool');
|
||||||
bg.animation.addByPrefix('idle', 'background 2', 24);
|
bg.animation.addByPrefix('idle', 'background 2', 24);
|
||||||
bg.animation.play('idle');
|
bg.animation.play('idle');
|
||||||
bg.scrollFactor.set(0.8, 0.9);
|
bg.scrollFactor.set(0.8, 0.9);
|
||||||
bg.scale.set(6, 6);
|
bg.scale.set(6, 6);
|
||||||
add(bg);
|
add(bg);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
var bg:FlxSprite = new FlxSprite(posX, posY).loadGraphic(Paths.image('weeb/evilSchoolBG'));
|
var bg:FlxSprite = new FlxSprite(posX, posY).loadGraphic(Paths.image('weeb/evilSchoolBG'));
|
||||||
|
@ -484,33 +468,32 @@ class PlayState extends MusicBeatState
|
||||||
add(waveSprite);
|
add(waveSprite);
|
||||||
add(waveSpriteFG);
|
add(waveSpriteFG);
|
||||||
*/
|
*/
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
defaultCamZoom = 0.9;
|
|
||||||
curStage = 'stage';
|
|
||||||
var bg:FlxSprite = new FlxSprite(-600, -200).loadGraphic(Paths.image('stageback'));
|
|
||||||
bg.antialiasing = true;
|
|
||||||
bg.scrollFactor.set(0.9, 0.9);
|
|
||||||
bg.active = false;
|
|
||||||
add(bg);
|
|
||||||
|
|
||||||
var stageFront:FlxSprite = new FlxSprite(-650, 600).loadGraphic(Paths.image('stagefront'));
|
default:
|
||||||
stageFront.setGraphicSize(Std.int(stageFront.width * 1.1));
|
defaultCamZoom = 0.9;
|
||||||
stageFront.updateHitbox();
|
curStage = 'stage';
|
||||||
stageFront.antialiasing = true;
|
var bg:FlxSprite = new FlxSprite(-600, -200).loadGraphic(Paths.image('stageback'));
|
||||||
stageFront.scrollFactor.set(0.9, 0.9);
|
bg.antialiasing = true;
|
||||||
stageFront.active = false;
|
bg.scrollFactor.set(0.9, 0.9);
|
||||||
add(stageFront);
|
bg.active = false;
|
||||||
|
add(bg);
|
||||||
|
|
||||||
var stageCurtains:FlxSprite = new FlxSprite(-500, -300).loadGraphic(Paths.image('stagecurtains'));
|
var stageFront:FlxSprite = new FlxSprite(-650, 600).loadGraphic(Paths.image('stagefront'));
|
||||||
stageCurtains.setGraphicSize(Std.int(stageCurtains.width * 0.9));
|
stageFront.setGraphicSize(Std.int(stageFront.width * 1.1));
|
||||||
stageCurtains.updateHitbox();
|
stageFront.updateHitbox();
|
||||||
stageCurtains.antialiasing = true;
|
stageFront.antialiasing = true;
|
||||||
stageCurtains.scrollFactor.set(1.3, 1.3);
|
stageFront.scrollFactor.set(0.9, 0.9);
|
||||||
stageCurtains.active = false;
|
stageFront.active = false;
|
||||||
|
add(stageFront);
|
||||||
|
|
||||||
add(stageCurtains);
|
var stageCurtains:FlxSprite = new FlxSprite(-500, -300).loadGraphic(Paths.image('stagecurtains'));
|
||||||
|
stageCurtains.setGraphicSize(Std.int(stageCurtains.width * 0.9));
|
||||||
|
stageCurtains.updateHitbox();
|
||||||
|
stageCurtains.antialiasing = true;
|
||||||
|
stageCurtains.scrollFactor.set(1.3, 1.3);
|
||||||
|
stageCurtains.active = false;
|
||||||
|
|
||||||
|
add(stageCurtains);
|
||||||
}
|
}
|
||||||
|
|
||||||
var gfVersion:String = 'gf';
|
var gfVersion:String = 'gf';
|
||||||
|
|