Skip to content

Commit 14f1db6

Browse files
committed
Update app.js
1 parent c823b74 commit 14f1db6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

games/GMTK Jam/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ app.ticker.add((deltaTime) => {
293293
} else if (PIXI.input.getKeyFired("s")) {
294294
menu.info.text = "[F] Fullscreen\n\n[W] Jump\t[A] Left\t[S] Drop\t[D] Right\n\nDodge or destroy Lady Luck's falling dice. Getting hit by one will lower your health by the number shown, but jumping on top of it will destroy it and heal you by that same amount. Take a chance and roll the dice!";
295295
} else if (PIXI.input.getKeyFired("d")) {
296-
menu.info.text = 'This game was made for the GMTK Game Jam 2022, with the theme "Roll of the Dice". The role of artist, programmer, and game designer were all filled by Cooper Ott.';
296+
menu.info.text = 'This game was made for the GMTK Game Jam 2022, with the theme "Roll of the Dice". The role of artist, programmer, and game designer were all filled by Cooper Ott.\n\nYou are a die fed up with Lady Luck telling you what to do, but trying to break free is easier said than done';
297297
}
298298
} else {
299299

@@ -305,7 +305,7 @@ app.ticker.add((deltaTime) => {
305305
allocationScreen.visible = true;
306306
particle.container.visible = false;
307307

308-
allocation.ladyLuck.text = "Lady Luck: " + ladyLuck[states.level];
308+
allocation.ladyLuck.text = "Lady Luck: " + ladyLuck[clamp(states.level, 0, ladyLuck.length)];
309309

310310
bg.tint = bgTint[0];
311311

0 commit comments

Comments
 (0)