User prompt
Please fix the bug: 'Uncaught ReferenceError: LKo is not defined' in or related to this line: 'LKo.init.shape('enemyBullet', {' Line Number: 79
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'Uncaught ReferenceError: init is not defined' in or related to this line: 'init.shape('enemyBullet', {' Line Number: 79
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'Uncaught ReferenceError: require is not defined' in or related to this line: 'var LK = _interopRequireWildcard(require("pixi.js"));' Line Number: 10
User prompt
In our current game, should I write 'import * as LK from 'pixi.js';' instead of 'import * as PIXI from 'pixi.js';?'
User prompt
A little more
User prompt
Put the 2 texts a little more right
Code edit (1 edits merged)
Please save this source code
User prompt
Put the text on the left "Hello everyone. My name is Shelo the turtle" and below this text I want you to put an other text "and I like eating daktyla".
User prompt
Please fix the bug: 'Timeout.tick error: welcomeMessage is not defined' in or related to this line: 'welcomeMessage.destroy();' Line Number: 80
User prompt
Delete the text
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot set properties of undefined (setting 'x')' in or related to this line: 'welcomeMessage.x = 1024;' Line Number: 82
User prompt
Delete all the texts
User prompt
Put the text on the left side and delete the text you wrote before
User prompt
Put the text on the left side
User prompt
Make the game to display first the text "Hello everyone. My name is Shelo the turtle and I like daktyla" for 4 seconds and then the game should start.
User prompt
Please fix the bug: 'ReferenceError: hearts is not defined' in or related to this line: 'hearts.splice(playerLives, 1);' Line Number: 174
User prompt
The game does not work
User prompt
Make the game to display first the text "Hello everyone. My name is Shelo the turtle and I like daktyla" for 4 seconds and then the game should start
User prompt
Please fix the bug: 'ReferenceError: hearts is not defined' in or related to this line: 'hearts[playerLives].destroy();' Line Number: 154
User prompt
Please fix the bug: 'ReferenceError: playerLives is not defined' in or related to this line: 'playerLives--;' Line Number: 155
User prompt
Ok just delete the lives and put the score on the top middle
User prompt
I want to delete on life (heart), if an enemy reach the bottom and not losing the whole game as you make the game. I should lose the whole game if three enemies reach the bottom. So make a variable that starts from '0' and measures the times that an enemy reaches the bottom. If the times is lower than '3', I should still play the game. If the times are three, I should lose the game (Game Over).
User prompt
You cannot do it. I again say you, I want to delete on life (heart), if an enemy reach the bottom. I do not want to lose the whole game. I should lose the whole game if three enemies reach the bottom. So make a function starts from '0' and measures the times that an enemy reaches the bottom. If the times is lower than 3, I should still play the game. If the times are three, I should lose the game (Game Over).
===================================================================
--- original.js
+++ change.js
@@ -67,34 +67,14 @@
****/
// Initialize bullet asset for the player
// Initialize enemy ship asset
// Initialize player spaceship asset
-var welcomeMessage = new Text2('Hello everyone. My name is Shelo the turtle and I like daktyla', {
- size: 50,
- fill: '#ffffff'
-});
-welcomeMessage.x = 0;
-welcomeMessage.y = 1366;
-game.addChild(welcomeMessage);
LK.setTimeout(function () {
welcomeMessage.destroy();
}, 4000);
-var welcomeMessage = new Text2('Hello everyone. My name is Shelo the turtle and I like daktyla', {
- size: 50,
- fill: '#ffffff'
-});
welcomeMessage.x = 1024;
welcomeMessage.y = 1366;
game.addChild(welcomeMessage);
-LK.setTimeout(function () {
- welcomeMessage.destroy();
-}, 4000);
-LK.setTimeout(function () {
- welcomeMessage.destroy();
-}, 4000);
-welcomeMessage.x = 1024;
-welcomeMessage.y = 1366;
-game.addChild(welcomeMessage);
var welcomeMessage = new Text2('Hello everyone. My name is Shelo the turtle and I like daktyla', {
size: 50,
fill: '#ffffff'
});