Code edit (9 edits merged)
Please save this source code
User prompt
move bouncing ball bounce point to row above current row
User prompt
set bounce point for bouncing ball at top of tile not bottom
User prompt
move starting point for bouning ball up 200
Code edit (1 edits merged)
Please save this source code
User prompt
Set so bouncing ball initially lands on first row of grid. bounce point 90 above tile
User prompt
get bal to bounce from tile to tile moving in a random downL or downR direction
User prompt
make ball bounce gentle from tile to tile until it falls off bottom of grid
User prompt
Start bouncing ball at top of grid. ball can only travel downwards bouncing from tile to tile
User prompt
Start bouncing ball in middle of top tile. ball can only travel downwards bouncing from tile to tile
User prompt
Bring bouncing ball infront of tiles
User prompt
Ass bouncingball asset to
User prompt
bring bouncing ball infront of grid
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'x')' in or related to this line: 'self.x = randomTopTile.x;' Line Number: 255
User prompt
start bouncing ball on top row of grid. display ball
User prompt
set a timer to randomly drop bouncing ball. time between 25 and 90 seconds
User prompt
add bouncing ball to code. Ball will drop on to first row tile and bounce its way down grid taking a random path. Only move ball in downward direction. bounce from one tile to another. when ball dropped keep it moving till it falls off grid
User prompt
add bouncing ball to code. Ball will drop on to first row tile and bounce its way down grid taking a random path. Only move ball in downward direction. bounce from one tile to another. when ball dropped keep it moving till it falls off grid
User prompt
when zbert moves then drop bouncing ball. add tick to allow ball to bounce down grid until it falls off
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'x')' in or related to this line: 'bouncingBall.x = topTile.x;' Line Number: 337
User prompt
add bouncing ball to code. Ball will drop on top tile and bounce its way down grid taking a random path. Only mov ball in downward direction. bounce from one tile to another
User prompt
when using upright control, if no tile available to jump to then jump and run fall routine
User prompt
when zbert reaches the end of the rows 1 to 7 and jumps using upright control then run fall routine
Code edit (1 edits merged)
Please save this source code
Code edit (6 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -221,9 +221,9 @@
});
self.vx = 0;
self.vy = 5;
self.bounce = function () {
- var tileBelow = game.grid.getTileAt(self.x, self.y + self.vy - tileHeight);
+ var tileBelow = game.grid.getTileAt(self.x, self.y + 100 + self.vy);
if (tileBelow && self.vy > 0) {
self.y = tileBelow.y - tileBelow.height / 2;
self.vy = -self.vy * 0.7; // Reduce the bounce velocity to make it gentler
} else if (!tileBelow && self.y + self.vy > game.grid.y + game.grid.height) {
beautiful landscape. starry sky, pastel colours, high definition, alien world. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
beautiful landscape. starry sky, pastel colours, high definition, alien world.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
beautiful expansive landscape. starry sky, pastel colours, high definition, alien world.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
beautiful expansive landscape. starry sky, pastel colours, high definition, alien world.. 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.
A little cube person. 2 legs. back to viewer. facing 45 degrees to the right. multicoloured skin, cartoon style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
white circle. metallic. light bevel on edge. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Round furry, cute alien ball with big eyes. vivid colours, looking at 45 degrees to the right. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
bright 3d present with bow, vivd colours. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Change to be vivid multicoloured cube
A simple Triangle, flat shaded, bevelled edges. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Speech bubble with expletive word in it. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
parachute. multicoloured. cartoon style.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
white circle with a single thin black border. flat shade. simple graphic. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
small star shape, vivid metallic blue, varying length spikes on star. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.