User prompt
score conuter is not working
User prompt
I cant see the score number
User prompt
white score number in top right that counts bananas collected
User prompt
cube should also scroll down
User prompt
monkey half way below cube
User prompt
make the cube it box smaller
User prompt
move monkey start point down some
User prompt
monkey can stand on cube
User prompt
increase cube hit box
User prompt
the monkey can not fall past cube
User prompt
monkey stuck on cube until jump
User prompt
gravity turned off when on cube
User prompt
the monkey can stand on cube
User prompt
monkey can not fall when on cube
User prompt
monkey can only spawn on cube
User prompt
cube down a bit more
User prompt
cube down a little
User prompt
cube right a bit more
User prompt
move cube right a bit more
User prompt
put cube right under monkey start postion
User prompt
move cube right a little
User prompt
a cube in left bottom
User prompt
make cube object
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'monkey')' in this line: 'if (self.parent.monkey) self.parent.monkey.visible = true;' Line Number: 5
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'monkey')' in this line: 'self.parent.monkey.visible = true;' Line Number: 5
===================================================================
--- original.js
+++ change.js
@@ -170,13 +170,13 @@
}
if (rightButton.moveRight) {
monkey.move('right');
}
- if (!(monkey.y + monkey.height > cube.y && monkey.y + monkey.height + monkey.velocityY < cube.y + cube.height)) {
- monkey.velocityY += monkey.gravity;
- }
+ monkey.velocityY += monkey.gravity;
if (!(monkey.y + monkey.height > floor.y && monkey.y + monkey.height + monkey.velocityY < floor.y + floor.height) && !(monkey.y + monkey.height > cube.y && monkey.y + monkey.height + monkey.velocityY < cube.y + cube.height) && !(monkey.y + monkey.height > cube.y && monkey.y + monkey.height + monkey.velocityY < cube.y + cube.height)) {
- monkey.y += monkey.velocityY;
+ if (!(monkey.y + monkey.height > cube.y && monkey.y + monkey.height + monkey.velocityY < cube.y + cube.height)) {
+ monkey.y += monkey.velocityY;
+ }
}
for (var i = 0; i < platforms.length; i++) {
if (monkey.y + monkey.height >= platforms[i].y && monkey.y < platforms[i].y + platforms[i].height && monkey.x + monkey.width > platforms[i].x && monkey.x < platforms[i].x + platforms[i].width) {
monkey.y = platforms[i].y - monkey.height;
Yellow circle button unreal engine 5 Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
green circle button unreal engine 5 Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d single log laying long ways on side with vines seen from side unreal engine 5 Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d jungle canopy background side scroller unreal engine 5 Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows No ground
Monkey full body animation unreal engine seen from the side very cute In-Game asset. 3d. Blank background. High contrast. No shadows
jungle floor dirt 2d unreal engine seen from the side In-Game asset. 3d. Blank background. High contrast. No shadows
yellow banana unreal engine 5 Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
blue banana unreal engine 5 Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.