User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading '0')' in this line: 'if (presentAsset && presentAsset.textureCacheIds[0] === selectedPresent.assetId) {' Line Number: 13
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading '0')' in this line: 'if (presentAsset.textureCacheIds[0] === selectedPresent.assetId) {' Line Number: 13
User prompt
Check if the presentGraphics matches the presentAsset in the CatchPresentsDisplay list
Code edit (5 edits merged)
Please save this source code
User prompt
in presentgraphic compare to presentasset in catchPresentdsiplay to see if they match
User prompt
in present change the comparision of to look at the current displayed actchpresenttype for the comparison
User prompt
In present change code so that comparision of present type is carried out against catchpresenttype instead of currentpresenttype
Code edit (1 edits merged)
Please save this source code
User prompt
Fix Bug: 'Timeout.tick error: nameDisplay.updateName is not a function' in this line: 'nameDisplay.updateName(nameStorage[Math.floor(Math.random() * nameStorage.length)]);' Line Number: 497
User prompt
Fix Bug: 'Uncaught TypeError: nameDisplay.updateName is not a function' in this line: 'nameDisplay.updateName(randomName);' Line Number: 256
User prompt
Fix Bug: 'Uncaught TypeError: nameDisplay.updateName is not a function' in this line: 'nameDisplay.updateName('');' Line Number: 496
Code edit (8 edits merged)
Please save this source code
User prompt
add particle effect to presentText when it changes
Code edit (1 edits merged)
Please save this source code
Code edit (2 edits merged)
Please save this source code
User prompt
Fix Bug: 'Uncaught TypeError: Cannot set properties of undefined (setting 'x')' in this line: 'self.presentText.x = 580;' Line Number: 22
Code edit (1 edits merged)
Please save this source code
Code edit (2 edits merged)
Please save this source code
User prompt
change catchpresentDisplay to show name and image of present type asociated with name
User prompt
change catchpresentDisplay to show name and image of present type
User prompt
Fix Bug: 'TypeError: Cannot set properties of undefined (setting 'y')' in this line: 'presentText.y = 0;' Line Number: 18
User prompt
Fix Bug: 'TypeError: Cannot set properties of undefined (setting 'y')' in this line: 'presentText.y = 0;' Line Number: 20
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'name')' in this line: 'var presentText = new Text2(self.catchPresentsList[randomIndex].name + ' - ' + self.catchPresentsList[randomIndex].type, {' Line Number: 11
User prompt
change catchPresentDisplay to display 1 random line from present list
Code edit (1 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -17,9 +17,9 @@
fill: '#ffffff',
font: 'Arial'
});
presentText.y = presentAsset.height + 10;
- presentText.anchor.set(0.5, 0.5);
+ presentText.anchor.set(0.0, 0.0);
presentText.x = self.width / 2;
presentText.y = presentAsset.height + 10 + presentText.height / 2;
}
if (presentText) {
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.