Code edit (3 edits merged)
Please save this source code
User prompt
Stop calling the run anim when falling
Code edit (1 edits merged)
Please save this source code
User prompt
Make a glow effect on the central rod
User prompt
Call the fall anim before gameover
Code edit (2 edits merged)
Please save this source code
User prompt
create a fall anim in athlete class
Code edit (12 edits merged)
Please save this source code
User prompt
add and show the background asset
User prompt
add an asset for the background
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'ReferenceError: runAnim is not defined' in or related to this line: 'runAnim();' Line Number: 129
Code edit (1 edits merged)
Please save this source code
Code edit (10 edits merged)
Please save this source code
User prompt
only centralRod should be considered fo obstacle intersection
Code edit (1 edits merged)
Please save this source code
Code edit (2 edits merged)
Please save this source code
User prompt
in obstacle class, add 2 other obstacleGraphics with asset 'obstacle'
Code edit (18 edits merged)
Please save this source code
User prompt
add 3 other obstacle assets in Obstacle class
Code edit (1 edits merged)
Please save this source code
User prompt
in jumpAnim when athlete.speedY is positive return legs to their inital rotation
Code edit (2 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -149,19 +149,19 @@
/****************************************************************************************** */
// Obstacle class
var Obstacle = Container.expand(function () {
var self = Container.call(this);
- var leftRod = self.attachAsset('obstacle', {
+ self.leftRod = self.attachAsset('obstacle', {
anchorX: 0.5,
anchorY: 1.0 // Anchor at the bottom for collision detection
});
- var centralRod = self.attachAsset('obstacle', {
+ self.centralRod = self.attachAsset('obstacle', {
anchorX: 0,
anchorY: 1,
y: -200,
rotation: Math.PI * 0.25
});
- var rightRod = self.attachAsset('obstacle', {
+ self.rightRod = self.attachAsset('obstacle', {
anchorX: 0.5,
anchorY: 0.0,
x: 180,
y: -400
Elongated elipse with black top half and white bottom half.
full close and front view of empty stands. retro gaming style
delete
delete
Basquettes à ressort futuriste. vue de profile. Retro gaming style
a blue iron man style armor flying. Retro gaming style
a blue iron man style armor flying horizontally. Retro gaming style
round button with a big "up" arrow icon and a small line under it. UI
A big black horizontal arrow pointing left with centred text 'YOU' in capital letters, painted on an orange floor.. horizontal and pointing left
remove
gold athletics medal with ribbon. retro gaming style
a black oval with a crying smiley face.