User prompt
create a "heart" asset that is used to display the amount of lives left instead of a number at the top left corner
User prompt
instead of a number put the amount of lifes left as a corresponding number of heart assets in the top left corner
User prompt
make it so you have three lifes, meaning that if you get hit by an enemy you don't lose instantly but much rather lose a life, if all lives are gone, the game is over
User prompt
make it so that at the start of the game there is only one enemy that spawns
User prompt
make it so the amount of enemies increased with each time all balls are collected and the game is reset. Use the function that keeps track of the amount of times the game is reset for that. It starts with one enemy and is capped at five in wave five. After wave five no more enemies are added
User prompt
make it even bigger
User prompt
make it 100% opacity
User prompt
display the immunity asset at the top of the screen over anything else, make it a bit bigger and move it down 100 pixels
User prompt
make it so the immunity is also active for two seconds when the game starts
User prompt
make it so the basket has a two-second immunity and cannot be hit by enemies after a reset. Add an immunity asset with an aspect ration of 2:1 that is displayed at the top of the screen when the player is immune to damage
User prompt
make it so there is a minium distance between balls and boost pads of 1/10 of the screen size
User prompt
balls can no longer spawn directly next to a boost pad
User prompt
nake it so a maximum of three boost pads can spawn with every game reset, including the game start
User prompt
add a function that keeps track how many times all the balls where collected and the game elements were reset. Display the amount of resets in the wave counter on the top right
User prompt
when all balls are collected and the game elements are reset, add +1 to the wave counter
User prompt
the wave function broke, now after all the balls are collected no new wave with new obstacles balls and so on is initialized. fix this issue
User prompt
wave one should start with only one enemy, fix it
User prompt
make it so the amount of enemies increased with each wave. It starts with one enemy and is capped at five in wave five. After wave five no more enemies are added
User prompt
boost pads and enemys still spawn way too close to the basket at the start of the game, fix that
User prompt
a wave ends and a new one starts when all the balls are collected. So if the first wave of balls is collected, wave two begins. Asjust the wave score accordingly
User prompt
display which wave of balls you're currently on right below the "Score" tab
User prompt
make it so that when every ball that is initialized on the start of the game is collected, all the obstacles, boost pads as well as the position of the enemies are reset and a new wave of balls to collect spawns
User prompt
make it so no enemies or obstacles and no boostpads can spawn in a square radius of 1/3 of the screen size around where the basket is initialized at the beginning of the game
User prompt
it's not displayed. Make it so it's showned riught below the "Game over"
User prompt
make it so the score is displayed on the game over screen
===================================================================
--- original.js
+++ change.js
@@ -285,9 +285,9 @@
for (var j = enemies.length - 1; j >= 0; j--) {
enemies[j].moveTowardsBasket(basket);
if (enemies[j].intersects(basket) && basket.isBallHitByOpening(enemies[j])) {
LK.effects.flashScreen(0xff0000, 1000);
- LK.showGameOver('Your score: ' + score);
+ LK.showGameOver('Game Over\n\nYour score: ' + score);
}
}
// Update balls
for (var i = balls.length - 1; i >= 0; i--) {
in-game asset. 2d. basketball. blank background. minimalistic flat graphic. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Single Game Texture. In-Game asset. 2d. Blank background. super simplistic arrow from left to right. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Single Game Texture. In-Game asset. 2d. flat graphic orange red. Basketball saying "bonus" white font. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Single Game Texture. In-Game asset. 2d. flat minimalistic graphic. Boost pad with a lightning icon on the top. Top view. Blank background. High contrast. No shadows.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
in-game asset. 2d. monster head from top view. blank background. minimalistic flat graphic. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
in-game asset. 2d. shield graphic green. blank background. minimalistic flat graphic. Single Game Texture. In-Game asset. 2d. High contrast. No shadows.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
in-game asset. 2d. flat 2d graphic of a blueish rectangle that looks like the top of a crate. blank background. minimalistic flat graphic. Single Game Texture. In-Game asset. 2d. High contrast. No shadows.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
in-game asset. yellow lighting bolt. small black outline. blank background. minimalistic flat graphic. Single Game Texture. 2d. Blank background. High contrast. No shadows.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
in-game asset. 2d. magnet graphic recentgular with text saying "Magnetism". blank background. minimalistic flat graphic. Single Game Texture. In-Game asset. High contrast. No shadows. red and blue. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.