User prompt
Add many stone on other place
User prompt
Hero's plane are not moving
User prompt
Please fix the bug: 'ReferenceError: dragNode is not defined' in or related to this line: 'if (dragNode) {' Line Number: 157
User prompt
And produce the big stone on the background for the protection
User prompt
Black colour and stars on background
User prompt
And plz change background
User prompt
Also add movement on enemy plane and he attacked on hero plane with bullet
User prompt
I want to move my plain
Initial prompt
A war
===================================================================
--- original.js
+++ change.js
@@ -84,8 +84,16 @@
y: Math.random() * 2732
});
game.addChild(star);
}
+// Add big stone to the game for protection
+var bigStone = LK.getAsset('bigStone', {
+ anchorX: 0.5,
+ anchorY: 0.5,
+ x: 2048 / 2,
+ y: 2732 / 2
+});
+game.addChild(bigStone);
// Initialize assets used in this game.
// Assets will be automatically created and loaded by the LK engine based on their usage in the code.
var hero = new Hero();
hero.x = 2048 / 2;
Fighter plane. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Sharpe bullet of plane. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Little stars. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Mountain rock. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Dangerous fight plane. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.