User prompt
move the gates left with 10 units
User prompt
Screen scaling full screen scaled to smartphones!
User prompt
After each scoring, the ball is placed back in the middle of the field!
User prompt
The side edge of the track is 25 units from the screen. The ball can only move between these two frames, it cannot go out of this!
User prompt
The ball MUST NEVER LEAVE THE FIELD SIDEWAYS!
User prompt
The computer will only get hit points when the ball touches iceGatebottom!
User prompt
The player only gets hit points if the ball touches iceGateTop!
User prompt
move the scoreboard up with 25 units
User prompt
move the scoreboard right with 50 units
User prompt
Turn the scoreboard 180 degrees left
User prompt
Turn the scoreboard 180 degrees
User prompt
The distance of the scoreboard from the edge of the screen is 100 units
User prompt
The distance of the scoreboard from the edge of the screen is 150 units
User prompt
The distance of the scoreboard from the edge of the screen is 50 units
User prompt
Location of the scoreboard on the right side of the screen halfway through the track
User prompt
Turn the direction of the scoreboard 90 degrees to the rightand place it on the right side of the screen.
User prompt
Display the result in golden yellow
User prompt
When the ball is not visible on the field, it is a ball toss from the middle.
User prompt
Rewrite the scoreboard to show how many goals were scored and how many goals were scored, separated by a hyphen.
User prompt
the ball does not go out sideways
User prompt
Ensure the ball maintains a distance of 50 units from the bottom edges of the image. Reset ball position to maintain a distance of 50 units from the bottom edges
User prompt
Ensure the paddles maintains a distance of 50 units from the upper edges of the image Reset paddles position to maintain a distance of 50 units from the upper edges
User prompt
Move the background down by 10 units
User prompt
Move the background to the left by 25 units
User prompt
Move the background to the left by 20 units
===================================================================
--- original.js
+++ change.js
@@ -197,12 +197,12 @@
});
game.addChild(background);
// Initialize ice hockey goals
var topGoal = game.addChild(new IceGate('top'));
-topGoal.x = 2048 / 2;
+topGoal.x = 2048 / 2 - 10;
topGoal.y = 50 - 45;
var bottomGoal = game.addChild(new IceGate('bottom'));
-bottomGoal.x = 2048 / 2;
+bottomGoal.x = 2048 / 2 - 10;
bottomGoal.y = 2732 - 50 + 40;
// Initialize ball and paddles
var ball = game.addChild(new Ball());
ball.x = 2048 / 2;
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.