Skip to content

Commit

Permalink
add comic pages for high score ending
Browse files Browse the repository at this point in the history
  • Loading branch information
doraeric committed Mar 6, 2021
1 parent 5d86aef commit 3ee7a1f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "index.js",
"scripts": {
"build": "webpack --config webpack/prod.js ",
"start": "webpack-cli serve --config webpack/base.js --mode development --open"
"start": "webpack serve --config webpack/base.js --mode development --open"
},
"author": "doraeric",
"license": "MIT",
Expand Down
8 changes: 7 additions & 1 deletion src/MainGame.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,12 @@ export default class MainGame extends Phaser.Scene {
fadeOuts[14],
fadeIns[15],
], [ // 15
fadeIns[12],
], [
fadeOuts[12],
fadeIns[13],
], [
fadeOuts[13],
fadeIns[16],
], [
fadeOuts[16],
Expand Down Expand Up @@ -346,7 +352,7 @@ export default class MainGame extends Phaser.Scene {
? 11
: ending === Ending.MID
? 15
: 20;
: 22;
if (ending === Ending.WRONG) {
if (message === '紅包拿來') {
this.texts.wrong1.setText('都幾歲的人了');
Expand Down

0 comments on commit 3ee7a1f

Please sign in to comment.