User prompt
Move the background to the left by 50 units
User prompt
Ensure the ball maintains a distance of 50 units from the upper edges of the image. Reset ball position to maintain a distance of 50 units from the upper edges
User prompt
Ensure the ball maintains a distance of 50 units from the upper edges of the image Reset ball position to maintain a distance of 150 units from the side edges
User prompt
Ensure the ball maintains a distance of 150 units from the side edges of the image Reset ball position to maintain a distance of 150 units from the side edges
User prompt
Move the background to the left by 10 units
User prompt
Move the background to the left by 100 units
User prompt
Move the background to the right by 100 units
User prompt
Move the background to the left by 150 units
User prompt
Move the background to the right by 150 units
User prompt
Move the background to the right by 200 units
User prompt
Move the background to the right by 300 units
User prompt
move the background to right with 300 units
User prompt
The distance between the ball and the side edges of the image is 200 units
User prompt
The distance between the ball and the side edges of the image is 90units
User prompt
The distance between the ball and the side edges of the image is 50 units
User prompt
The distance between the ball and the side edges of the image is 100 units
User prompt
If the player touches the ball, the movement of the ball accelerates to 1.5 x faster until it touches the sidelines. As soon as the ball touches the edge of the field, its speed will be the original again.
User prompt
If the player touches the ball, the movement of the ball accelerates to 1.5 x faster until it touches the sidelines.
User prompt
A computer-controlled opponent can only move anywhere in the upper half of the map.
User prompt
The opponent can move as far as he wants in his own half, but he cannot come lower than halfway through the field.
User prompt
The ball bounces off all sides of the field
User prompt
The ball and player must not touch each other
User prompt
The ball and player must not touch or obscure each other.
User prompt
Only color the player paddle blue.
User prompt
When they touch each other, the machine paddles slide away 100 units.
===================================================================
--- original.js
+++ change.js
@@ -198,9 +198,9 @@
var lastCornerHit = null;
var background = LK.getAsset('background', {
anchorX: 0.0,
anchorY: 0.0,
- x: -1740,
+ x: -1790,
y: -700
});
game.addChild(background);
// Initialize ice hockey goals
New ball button. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
air hockey table with neon lights. top view. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Air hockey disk with neon green lights. top view. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Air hockey disk with neon yellow lights. top view. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Air hockey disk with neon orange lights. top view. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.