Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
Add pop up text box in middle of screen
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'width')' in this line: 'presentType.x = Math.random() * (mainContainer.width - presentType.width);' Line Number: 524
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'width')' in this line: 'presentType.x = Math.random() * (mainContainer.width - presentType.getBounds().width);' Line Number: 524
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'width')' in this line: 'presentType.x = Math.random() * (mainContainer.width - presentType.width);' Line Number: 524
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'width')' in this line: 'presentType.x = Math.random() * (mainContainer.width - presentAsset.width);' Line Number: 524
User prompt
Fix Bug: 'Uncaught ReferenceError: type is not defined' in this line: 'var presentAsset = presentType.createAsset(type, type + ' Graphics', .5, .5);' Line Number: 523
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'width')' in this line: 'presentType.x = Math.random() * (mainContainer.width - presentType.createAsset(type, type + ' Graphics', .5, .5).width);' Line Number: 523
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'width')' in this line: 'presentType.x = Math.random() * (mainContainer.width - presentType.width);' Line Number: 523
User prompt
Fix Bug: 'Uncaught ReferenceError: mainContainer is not defined' in this line: 'self.createPresents(presentTypesCount, mainContainer);' Line Number: 530
User prompt
Fix Bug: 'Uncaught TypeError: LK.stopTick is not a function' in this line: 'LK.stopTick();' Line Number: 414
User prompt
at beginning of game have intro screen with start button. Fit to 2038 x 2732. stop tick. do not load other assets until intro screen cleared. add text and graphic to intro screen
Code edit (2 edits merged)
Please save this source code
User prompt
wait with game load up until popup message has been cleared
Code edit (1 edits merged)
Please save this source code
User prompt
add a pop up message that appears at the beginning of game. add close button on it.
User prompt
Fix Bug: 'Uncaught RangeError: Maximum call stack size exceeded' in this line: 'var self = Container.call(this);' Line Number: 2
User prompt
Fix Bug: 'Uncaught ReferenceError: popupMessage is not defined' in this line: 'LK.stageContainer.addChild(popupMessage);' Line Number: 3
User prompt
Fix Bug: 'Uncaught RangeError: Maximum call stack size exceeded' in this line: 'var self = Container.call(this);' Line Number: 2
User prompt
Fix Bug: 'Uncaught RangeError: Maximum call stack size exceeded' in this line: 'var self = Container.call(this);' Line Number: 2
User prompt
Fix Bug: 'Uncaught ReferenceError: popupMessage is not defined' in this line: 'LK.stageContainer.addChild(popupMessage);' Line Number: 4
User prompt
Fix Bug: 'Uncaught RangeError: Maximum call stack size exceeded' in this line: 'var self = Container.call(this);' Line Number: 2
User prompt
Fix Bug: 'Uncaught RangeError: Maximum call stack size exceeded' in this line: 'var self = Container.call(this);' Line Number: 2
User prompt
Fix Bug: 'Uncaught RangeError: Maximum call stack size exceeded' in this line: 'var self = Container.call(this);' Line Number: 2
===================================================================
--- original.js
+++ change.js
@@ -489,9 +489,9 @@
LK.gui.addChild(self.currentLevelTxt);
scoreTxt.anchor.set(.5, 0);
LK.gui.topCenter.addChild(scoreTxt);
var popupTextBox = new PopupTextBox('Welcome to the Game!');
- LK.stageContainer.addChild(popupTextBox);
+ LK.stageContainer.addChild(popupTextBox, 2);
var level = self.levelManager.getCurrentLevel();
var presentTypesCount = 2;
if (level >= 3 && level <= 4) {
presentTypesCount = 3;
basic snowflake. white Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
open top of Santa's sack. wrapped presents with ribbons and box, vivid colours, candy canes Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
close up of a Snow covered roof, Winter scene, star lit night sky, brick chimbly on right hand side, Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
gift wrapped box, vivid colours. with bow on top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
gift wrapped box, vivid colours. with bow on top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
stary night sky.dark blue. no land. only sky Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
gift wrapped box, vivid colours. with bow on top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
gift wrapped box, vivid colours. with bow on top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
gift wrapped box, vivid colours. with bow on top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Candy cane, vivid colours. with bow on top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
gift wrapped box, vivid colours. with bow on top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
gift wrapped box, vivid colours. with bow on top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
old paper scroll, blank with no writing, Single Game Texture. In-Game asset. 2d. transparent Blank background. High contrast. No shadows. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
rudolf the red nose raindeer Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
gift wrapped box, bright colours. with bow on top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Single Game Texture.
gift wrapped box, bright light colours. with bow on top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Single Game Texture.
Santa's sleigh with a team of reindeer moving across a star light sky. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.