User prompt
Add 3d to the house
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading '0')' in this line: 'self.timeOfDayText.setText('Time of Day: ' + hours.toString().padStart(2, '0') + ':' + minutes.toString().padStart(2, '0'));' Line Number: 518
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading '0')' in this line: 'self.timeOfDayText.setText('Time of Day: ' + hours.toString().padStart(2, '0') + ':' + minutes.toString().padStart(2, '0'));' Line Number: 519
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading '0')' in this line: 'self.timeOfDayText.setText('Time of Day: ' + hours.toString().padStart(2, '0') + ':' + minutes.toString().padStart(2, '0'));' Line Number: 518
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading '0')' in this line: 'self.timeOfDayText.setText('Time of Day: ' + hours.toString().padStart(2, '0') + ':' + minutes.toString().padStart(2, '0'));' Line Number: 516
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading '0')' in this line: 'self.timeOfDayText.setText('Time of Day: ' + hours.toString().padStart(2, '0') + ':' + minutes.toString().padStart(2, '0'));' Line Number: 516
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading '0')' in this line: 'self.timeOfDayText.setText('Time of Day: ' + hours.toString().padStart(2, '0') + ':' + minutes.toString().padStart(2, '0'));' Line Number: 516
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading '0')' in this line: 'self.timeOfDayText.setText('Time of Day: ' + hours.toString().padStart(2, '0') + ':' + minutes.toString().padStart(2, '0'));' Line Number: 515
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading '0')' in this line: 'self.timeOfDayText.setText('Time of Day: ' + hours.toString().padStart(2, '0') + ':' + minutes.toString().padStart(2, '0'));' Line Number: 515
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading '0')' in this line: 'self.timeOfDayText.setText('Time of Day: ' + hours.toString().padStart(2, '0') + ':' + minutes.toString().padStart(2, '0'));' Line Number: 515
User prompt
Fix Bug: 'Uncaught TypeError: Graphics is not a constructor' in this line: 'var reflectionMask = new Graphics();' Line Number: 18
User prompt
Fix Bug: 'Uncaught TypeError: Graphics is not a constructor' in this line: 'var reflectionMask = new Graphics();' Line Number: 18
User prompt
Fix Bug: 'Uncaught TypeError: Graphics is not a constructor' in this line: 'var reflectionMask = new Graphics();' Line Number: 18
User prompt
Fix Bug: 'Uncaught TypeError: Sprite is not a constructor' in this line: 'var reflectionSprite = new Sprite(reflectionTexture);' Line Number: 15
User prompt
Fix Bug: 'Uncaught TypeError: Graphics is not a constructor' in this line: 'var reflectionGradient = new Graphics();' Line Number: 12
User prompt
Improve reflection
User prompt
Add réflection on the background
User prompt
Fix Bug: 'Uncaught ReferenceError: filters is not defined' in this line: 'var shadow = new filters.DropShadowFilter();' Line Number: 336
User prompt
Fix Bug: 'Uncaught ReferenceError: filters is not defined' in this line: 'var shadow = new filters.DropShadowFilter();' Line Number: 336
User prompt
Fix Bug: 'Uncaught ReferenceError: filters is not defined' in this line: 'var shadow = new filters.DropShadowFilter();' Line Number: 336
User prompt
Fix Bug: 'Uncaught ReferenceError: filters is not defined' in this line: 'var shadow = new filters.DropShadowFilter();' Line Number: 336
User prompt
Fix Bug: 'Uncaught ReferenceError: filters is not defined' in this line: 'var shadow = new filters.DropShadowFilter();' Line Number: 336
User prompt
Fix Bug: 'Uncaught ReferenceError: filters is not defined' in this line: 'var shadow = new filters.DropShadowFilter();' Line Number: 336
User prompt
Fix Bug: 'Uncaught ReferenceError: filters is not defined' in this line: 'var shadow = new filters.DropShadowFilter();' Line Number: 336
User prompt
Fix Bug: 'Uncaught ReferenceError: filters is not defined' in this line: 'var shadow = new filters.DropShadowFilter();' Line Number: 336
===================================================================
--- original.js
+++ change.js
@@ -14,12 +14,11 @@
reflectionTexture.height = reflectionGraphics.height;
var reflectionSprite = LK.getAsset('reflectionGradient', 'Reflection Gradient', 0.5, 0.5);
reflectionSprite.y = reflectionGraphics.y;
reflectionSprite.alpha = 0.5;
- var reflectionMask = new Graphics();
- reflectionMask.beginGradientFill(['rgba(255,255,255,1)', 'rgba(255,255,255,0)'], [1, 0], 0, 0, 0, reflectionGraphics.height);
- reflectionMask.drawRect(0, 0, reflectionGraphics.width, reflectionGraphics.height);
- reflectionMask.endFill();
+ var reflectionMask = LK.getAsset('reflectionMask', 'Reflection Mask', 0, 0);
+ reflectionMask.width = reflectionGraphics.width;
+ reflectionMask.height = reflectionGraphics.height;
reflectionSprite.mask = reflectionMask;
self.addChild(reflectionSprite);
self.addChild(backgroundGraphics);
self.addChild(reflectionGraphics);
A background of a paysage with plain and without tree or montainbut no water see from the top in the air 100m by 100m Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
One human medieval villager in a warcraft 2 style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a house in a warcraft 2 style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A tree a rock and crambery in a RTS style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A heart comic style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A cloud in a comic style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A market in a RTS fantasy style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
An Inn in a RTS fantasy style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
An school in a RTS fantasy style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
An bakery in a RTS fantasy style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A well in a RTS fantasy style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A tree in a rts style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
An apple in a rts style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A rock in a rts style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A home in a RTS and fantasy style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A brewery in a fantasy rts style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A lumberjack in a fantasy rts style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a marketplace in a fantasy rts style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a festival in a fantasy rts style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.