User prompt
create an object to use in an explosion effect
Code edit (8 edits merged)
Please save this source code
User prompt
create a function to return a random hex string from the following values [0xFF6900, 0xFCB900, 0xF78DA7]
Code edit (6 edits merged)
Please save this source code
User prompt
add a red healthbar to enemybossship
Code edit (1 edits merged)
Please save this source code
User prompt
Add a text to display on gameover scene which shows the final score
Code edit (2 edits merged)
Please save this source code
User prompt
add a function to kill the player if hit by enemy or enemyboss bullets
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
create an object called "helpguide" at the bottom of screen, 64 pixel from the edge
Code edit (2 edits merged)
Please save this source code
User prompt
make instructionText bold
Code edit (2 edits merged)
Please save this source code
User prompt
Add a text to the screen that says "Tap! Tap! Tap to shoot your hearts and destroy the evil smiley"
User prompt
add a help icon object at the bottom of the screen, 64 pixels from the bottom
User prompt
add an object at the bottom of the screen to show arrows
User prompt
update code so that randomSpawnEnemyShip only spawns if the game has started
User prompt
update the code so that the start button is rendered on top
User prompt
create an asset for a start button for the game.
Code edit (10 edits merged)
Please save this source code
User prompt
add a text elemt to also show the current level
Code edit (1 edits merged)
Please save this source code
Code edit (3 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -366,8 +366,10 @@
var enemyBullet = enemyBossShips[i].enemyBossShipBullets[j];
enemyBullet.move();
if (heroShip.intersects(enemyBullet)) {
LK.effects.flashScreen(0xff0000, 1000);
+ var gameOverDisplay = game.addChild(new GameOverDisplay());
+ gameOverDisplay.updateFinalScore(currentScore);
LK.showGameOver();
}
}
}
a cute cool looking emoji face. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a cute looking heart. bright red.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
an evil looking emoji. purple and blue colors.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a shiny blue cute star. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A start button. White on Red.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a grey touchpad. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a bright yellow shiny cute star. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.