THEYRE FLABBERGASTED!!
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
function create() {
|
||||
importScript("data/scripts/pixel");
|
||||
if (PlayState.SONG.song == "Roses") {
|
||||
flabbergastGirls();
|
||||
}
|
||||
}
|
||||
|
||||
public function flabbergastGirls() {
|
||||
bgGirls.animation.remove("danceLeft");
|
||||
bgGirls.animation.remove("danceRight");
|
||||
bgGirls.animation.addByIndices('danceLeft', 'BG fangirls dissuaded', CoolUtil.numberArray(14), "", 24, false);
|
||||
bgGirls.animation.addByIndices('danceRight', 'BG fangirls dissuaded', CoolUtil.numberArray(30, 15), "", 24, false);
|
||||
bgGirls.animation.play("danceLeft", true);
|
||||
}
|
||||
@@ -18,8 +18,8 @@
|
||||
<sprite name="treeLeaves" x="-200" y="-40" sprite="petals"
|
||||
antialiasing="false" scale="6" scroll="0.85" updateHitbox="true"/>
|
||||
|
||||
<sprite name="bgGirls" x="-100" y="190" sprite="bgFreaks" scroll="0.9" scale="6" antialiasing="false" updateHitbox="true">
|
||||
<anim name="danceLeft" anim="BG girls group" indices="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14" fps="24" loop="false"/>
|
||||
<anim name="danceRight" anim="BG girls group" indices="15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30" fps="24" loop="false"/>
|
||||
<sprite name="bgGirls" x="-100" y="190" sprite="bgFreaks" scroll="0.9" scale="6" antialiasing="false" updateHitbox="true" beatAnim="danceLeft,danceRight">
|
||||
<anim name="danceLeft" anim="BG girls group" indices="0,1,2,3,4,5,6,7,8,9,10,11,12,13" fps="24" loop="false"/>
|
||||
<anim name="danceRight" anim="BG girls group" indices="15,16,17,18,19,20,21,22,23,24,25,26,27,28,29" fps="24" loop="false"/>
|
||||
</sprite>
|
||||
</stage>
|
||||
@@ -329,7 +329,6 @@ class PlayState extends MusicBeatState
|
||||
public override function createPost() {
|
||||
|
||||
var videoCutscene = Paths.video('${PlayState.SONG.song.toLowerCase()}-cutscene');
|
||||
trace(videoCutscene);
|
||||
|
||||
FlxTransitionableState.skipNextTransIn = true;
|
||||
if (cutscene != null) {
|
||||
|
||||
@@ -86,7 +86,9 @@ class Stage extends FlxBasic implements IBeatReceiver {
|
||||
if (node.has.beatAnim && node.att.beatAnim.trim() != "") spr.beatAnims = [for(e in node.att.beatAnim.split(",")) e.trim()];
|
||||
|
||||
if (node.has.anim) {
|
||||
spr.animation.play(node.att.anim);
|
||||
spr.animation.play(node.att.anim, true);
|
||||
} else if (spr.beatAnims.length > 0) {
|
||||
spr.animation.play(spr.beatAnims[0], true);
|
||||
}
|
||||
|
||||
stageSprites.set(node.att.name, spr);
|
||||
|
||||
Reference in New Issue
Block a user