almost all code
This commit is contained in:
parent
ce5e4ca7be
commit
9f364b5493
679
scenes/act2.md
679
scenes/act2.md
File diff suppressed because it is too large
Load Diff
|
@ -208,7 +208,7 @@ function BG_Party(){
|
|||
// Stage 4 end
|
||||
if(STAGE==4){
|
||||
ticker = 0;
|
||||
self.party_hong.gotoFrame(26);
|
||||
ALPHAS[8] = 0; // HIDE Battle Beebee
|
||||
}
|
||||
|
||||
// Stage 5 transition end
|
||||
|
@ -218,6 +218,10 @@ function BG_Party(){
|
|||
self.act2_end.gotoFrame(1);
|
||||
}
|
||||
|
||||
}else{
|
||||
if(STAGE==4){
|
||||
OFFSETS[8] += 2; // BYE BB
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -323,7 +327,15 @@ function BG_Party(){
|
|||
var _subscriptions = [];
|
||||
_subscriptions.push(
|
||||
subscribe("act2", function(thing, frame){
|
||||
self[thing].gotoFrame(frame);
|
||||
if(typeof frame=="string"){
|
||||
if(frame=="next"){
|
||||
self[thing].nextFrame();
|
||||
}else{
|
||||
self[thing].gotoFrameByName(frame);
|
||||
}
|
||||
}else{
|
||||
self[thing].gotoFrame(frame);
|
||||
}
|
||||
}),
|
||||
subscribe("act2-out-1", function(){
|
||||
|
||||
|
@ -348,7 +360,7 @@ function BG_Party(){
|
|||
self.alshire.visible = false;
|
||||
|
||||
// Party Hong
|
||||
self.party_hunter.gotoFrame(2); // talk
|
||||
self.party_hunter.gotoFrame(3); // look right
|
||||
self.party_hong.gotoFrame(12); // look left
|
||||
|
||||
ALPHAS[6] = 1; // SHOW Party Hong
|
||||
|
@ -383,7 +395,7 @@ function BG_Party(){
|
|||
|
||||
ALPHAS[6] = 1; // SHOW Party Hong
|
||||
ALPHAS[7] = 0; // HIDE Battle Hong
|
||||
ALPHAS[8] = 0; // HIDE Battle Beebee
|
||||
//ALPHAS[8] = 0; // HIDE Battle Beebee
|
||||
|
||||
// WHOOSH
|
||||
STAGE = 4;
|
||||
|
|
|
@ -112,7 +112,40 @@ function Act2_Beebee(){
|
|||
};
|
||||
|
||||
// ANIM LOOPS
|
||||
var animLoops = [];
|
||||
var animLoops = [
|
||||
|
||||
// Scream A - Fisticuffs
|
||||
{ target:"body", ifOnFrame:"scream_a_1*", wait:0.10, thenGoToFrame:"scream_a_2*" },
|
||||
{ target:"body", ifOnFrame:"scream_a_2*", wait:0.10, thenGoToFrame:"scream_a_1*" },
|
||||
|
||||
// Scream B - Bounce
|
||||
{ target:"body", ifOnFrame:"scream_b_1*", wait:0.10, thenGoToFrame:"scream_b_2*" },
|
||||
{ target:"body", ifOnFrame:"scream_b_2*", wait:0.10, thenGoToFrame:"scream_b_1*" },
|
||||
|
||||
// Scream C - DIEEEEE
|
||||
{ target:"body", ifOnFrame:"scream_c_1*", wait:0.07, thenGoToFrame:"scream_c_2*" },
|
||||
{ target:"body", ifOnFrame:"scream_c_2*", wait:0.07, thenGoToFrame:"scream_c_1*" },
|
||||
|
||||
// HADOUKEN
|
||||
{ target:"body", ifOnFrame:"special_b_1*", wait:0.10, thenGoToFrame:"special_b_2*" },
|
||||
{ target:"body", ifOnFrame:"special_b_2*", wait:0.10, thenGoToFrame:"special_b_3*" },
|
||||
{ target:"body", ifOnFrame:"special_b_3*", wait:0.10, thenGoToFrame:"special_b_1*" },
|
||||
|
||||
// FLAIL
|
||||
{ target:"body", ifOnFrame:"final_1*", wait:0.05, thenGoToFrame:"final_2*" },
|
||||
{ target:"body", ifOnFrame:"final_2*", wait:0.05, thenGoToFrame:"final_3*" },
|
||||
{ target:"body", ifOnFrame:"final_3*", wait:0.05, thenGoToFrame:"final_4*" },
|
||||
{ target:"body", ifOnFrame:"final_4*", wait:0.05, thenGoToFrame:"final_1*" },
|
||||
|
||||
// Final scream
|
||||
{ target:"body", ifOnFrame:"yell_1*", wait:0.10, thenGoToFrame:"yell_2*" },
|
||||
{ target:"body", ifOnFrame:"yell_2*", wait:0.10, thenGoToFrame:"yell_1*" },
|
||||
|
||||
// Final scream (angry)
|
||||
{ target:"body", ifOnFrame:"yell_angry_1*", wait:0.10, thenGoToFrame:"yell_angry_2*" },
|
||||
{ target:"body", ifOnFrame:"yell_angry_2*", wait:0.10, thenGoToFrame:"yell_angry_1*" },
|
||||
|
||||
];
|
||||
|
||||
// Inherit from Character!
|
||||
Character.apply(self, [spriteConfig, animLoops]);
|
||||
|
@ -121,8 +154,8 @@ function Act2_Beebee(){
|
|||
// Go To Frames!
|
||||
self.gotoFrames({
|
||||
body: "normal",
|
||||
mouth: "normal",
|
||||
eyes: "normal",
|
||||
mouth: "shocked",
|
||||
eyes: "blank",
|
||||
});
|
||||
var _subscriptions = [];
|
||||
_subscriptions.push( subscribe("bb", self.gotoFrames) );
|
||||
|
|
|
@ -40,8 +40,8 @@ function Act2_Hong(){
|
|||
"mouth_yell",
|
||||
"mouth_yell_talk",
|
||||
"body_cross",
|
||||
"mouth_cross",
|
||||
"mouth_cross_talk",
|
||||
"mouth_cross",
|
||||
"body_defeated*",
|
||||
|
||||
"body_listen*",
|
||||
|
|
|
@ -4,7 +4,8 @@ Loader.addScenes([
|
|||
"scenes/intro.md",
|
||||
"scenes/act1.md",
|
||||
"scenes/intermission.md",
|
||||
"scenes/act2_test.md",
|
||||
//"scenes/act2_test.md",
|
||||
"scenes/act2.md",
|
||||
"scenes/act3.md",
|
||||
"scenes/act4.md",
|
||||
"scenes/credits.md"
|
||||
|
@ -35,7 +36,8 @@ subscribe("START_GAME", function(){
|
|||
$("#about").style.display = "block";
|
||||
|
||||
// Act 2
|
||||
_ = {"CHAPTER":1,"attack_harm_ch1":3,"attack_alone_ch1":2,"attack_bad_ch1":1,"whitebread":true,"partyinvite":"ignore","subtweet":true,"serialkiller":true,"act1g":"dont","act1_ending":"flight","INTERMISSION_STAGE":1};
|
||||
_ = {"CHAPTER":1,"attack_harm_ch1":3,"attack_alone_ch1":2,"attack_bad_ch1":1,"whitebread":true,"partyinvite":"ignore","subtweet":true,"serialkiller":true,"act1g":"dont","badnews":true,"factcheck":false,"act1_ending":"flight","INTERMISSION_STAGE":1};
|
||||
Game.TEXT_SPEED = 5;
|
||||
Game.goto("act2");
|
||||
//Game.goto("act4");
|
||||
|
||||
|
|
Loading…
Reference in New Issue