Code edit (23 edits merged)
Please save this source code
User prompt
make the roundText opaque
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
remove the little ball at the top left of the screen
User prompt
if ball intersects with defender reset multiplier
User prompt
if ball intersects with defender remove multiplier
Code edit (1 edits merged)
Please save this source code
User prompt
once score reaches 2 change background to background2
User prompt
when score reaches 30 change background to background2
User prompt
once score reaches 30 reset timer to 100
User prompt
if user score reaches 30 change background to background2
User prompt
if user reaches 30 reset score to 0
Code edit (2 edits merged)
Please save this source code
User prompt
if user reaches 30 points reset timer
User prompt
remove the ball from the top left corner
Code edit (4 edits merged)
Please save this source code
User prompt
add ROUND 1 text before game starts
User prompt
remove teammate asset and all iterations related to it
User prompt
remove platform asset and all iterations related to it
User prompt
gradually reduce visibility of dust to zero over 5 seconds
User prompt
make dust invisible after 5 seconds
Code edit (1 edits merged)
Please save this source code
Code edit (15 edits merged)
Please save this source code
User prompt
if ball intersects with defender, make three dust assets flash and reset the ball
===================================================================
--- original.js
+++ change.js
@@ -354,8 +354,16 @@
game.addChild(particle);
}
}
});
+var bg = LK.getAsset('background2', {
+ anchorX: 0.5,
+ anchorY: 0.5
+});
+bg.x = 2048 / 2;
+bg.y = 2732 / 2 + 150;
+bg.alpha = 0.7;
+game.addChild(bg);
// Display ROUND 1 text at the beginning of the game
var gameRound = 1;
var displayRoundText = function displayRoundText(round) {
var roundText = new Text2('ROUND ' + round, {
@@ -372,16 +380,8 @@
game.removeChild(roundText);
}, 3000);
};
displayRoundText(gameRound);
-var bg = LK.getAsset('background2', {
- anchorX: 0.5,
- anchorY: 0.5
-});
-bg.x = 2048 / 2;
-bg.y = 2732 / 2 + 150;
-bg.alpha = 0.7;
-game.addChild(bg);
var timerTxt = new Text2('00:00', {
size: 150,
fill: "#ffffff"
});
Basketball, cartoon style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
4:3 Simple rectangle white outline. Black background
Paris. Paris basketball backgroung. Eiffel Tower. Eurosport logo. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
rainbow sparkle. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
two white palms facing forward no background. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. HD Color
POV basketball court in forest. Full screen. Background. High detail
basketball barn background. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
basketball dungeon background. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
heaven background. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pow effect. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
left hand. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Wide Single Orange metal bar lying down Single Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast. —ar 2:1
https://kagi.com/proxy/basketball_backboard.png?c=iNrrnnUOe99nVfDGJsYBLujiaX2Hu-zxBFRkvLEyXdRnJ8cU3RjcAYbR-o12E923qVNGy1CEGrQG87ogCD3yUarJdZYt5R03mmEMb7Jrh-8%3D blank backboard Single Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.