Code edit (10 edits merged)
Please save this source code
User prompt
create and show var character on screen
User prompt
show var character on screen
User prompt
var Character should be positionned at the bottom left of the screen
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'speedY')' in or related to this line: 'self.speedY += self.gravity;' Line Number: 65
User prompt
draw the character on screen and position it at the bottom left of the playspace
User prompt
obstacle01 & touchdown alpha = 0
Code edit (1 edits merged)
Please save this source code
Code edit (21 edits merged)
Please save this source code
User prompt
basketball should always be on the highest layer
Code edit (1 edits merged)
Please save this source code
Code edit (12 edits merged)
Please save this source code
User prompt
Obstacle01 class should be parented to Touchdown Instance
User prompt
when basketball intersects with touchdown, stop tracking if basketball intersects with Obstacle01
User prompt
when basketball intersects with touchdown, disable Obstacle01
Code edit (1 edits merged)
Please save this source code
Code edit (10 edits merged)
Please save this source code
User prompt
var Obstacle01 when intersect with basketball, basketball bounces away in the opposite direction
User prompt
Please fix the bug: 'Uncaught ReferenceError: touchdown is not defined' in or related to this line: 'self.parent = touchdown;' Line Number: 49
User prompt
show the asset obstacle01 on screen
Code edit (1 edits merged)
Please save this source code
User prompt
Increment score when basketball intersects with touchdown once only
User prompt
when basketball intersects with touchdown, score+1
User prompt
when the ball respawns, make sure its fully visible
User prompt
the ball visibility is not progressively reducing until it fades out
===================================================================
--- original.js
+++ change.js
@@ -29,9 +29,9 @@
});
var Character = Container.expand(function () {
var self = Container.call(this);
var characterGraphics = self.attachAsset('Character', {
- anchorX: 0.5,
+ anchorX: 0.1,
anchorY: 0.5
});
});
var Hoop = Container.expand(function () {
2d basketball in the art style of final fantasy 9. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d basketball hoop net in the art style of final fantasy 9 , just the ring and the net. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of a back alley. The goal is to capture a lively and playful location. No skies.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of clouds. The goal is to capture a lively and playful location... Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of a yarn ball. The goal is to capture a lively and playful location. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of a Cat. The goal is to capture a lively and playful location. 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.
Create a cartoon-style illustration of the word ''Bonus''. The goal is to capture a lively and playful text. The letter "O" in Bonus should be a basketball. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
cartoon sideways claw swipe effect just the scratches in orange. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.