Code edit (12 edits merged)
Please save this source code
User prompt
move flippers 100 pixels up
User prompt
mmove player 100 pixels down
User prompt
make collision bos smaller
User prompt
move diver 200 pixels down
User prompt
collision box should not affect the size of the diver
Code edit (1 edits merged)
Please save this source code
User prompt
move player 200 pixels up
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot set properties of undefined (setting 'x')' in or related to this line: 'rightFlipper.x = 30;' Line Number: 115
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot set properties of undefined (setting 'x')' in or related to this line: 'rightFlipper.x = 30;' Line Number: 115
User prompt
mvoe flippers closer to player
User prompt
move player 100 pixels up
Code edit (10 edits merged)
Please save this source code
User prompt
move collsionbox anchor on player a little down
User prompt
powerup should also collide with playercollisionbox
User prompt
move collisionbox 200 pixels down on the player
Code edit (1 edits merged)
Please save this source code
User prompt
make playercollsionbox bigger
User prompt
show playercollisionbox on top of player
User prompt
make sucre obstacles collide with playercollisionbox
User prompt
make playercollisonbox circular
User prompt
create a playercollisionbox which will be in the center of the player.
User prompt
add a playercollisionbox
User prompt
when powerup collides with player playe powerup soudn
Code edit (5 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -91,9 +91,9 @@
rightFlipper.depth = -1;
// Add a collision box to the diver
var collisionBox = self.attachAsset('wave', {
anchorX: 0.5,
- anchorY: 0.6,
+ anchorY: 0.1,
width: 100,
height: 200,
color: 0xff0000,
alpha: 0.5
8bit. cartoon. jellyfish.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
empty 8 bit cartoon white circle. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
cartoon. 8-bit. octopus. colorful.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
cartoon. 8-bit. sea urchin. colorful. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
cartoon 8bit stingray. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.