Code edit (21 edits merged)
Please save this source code
Code edit (2 edits merged)
Please save this source code
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'anchor')' in or related to this line: 'levelText.anchor.x = 0.5;' Line Number: 125
Code edit (1 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -97,11 +97,11 @@
size: 100,
fill: "#ffffff",
stroke: "#000000",
strokeThickness: 10,
- weight: 800,
- anchorX: 0.5
+ weight: 800
});
+ levelTxt.anchor.x = 0.5;
//levelTxt.x = 2048 / 2;
//levelTxt.y = 200;
self.addChild(levelTxt);
return self;
A smooth, clean, blank and empty scrabble tile for a game.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A clean, warm and welcoming classroom in a school, facing the blackboard.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A small golden star. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.