Code edit (20 edits merged)
Please save this source code
User prompt
use Detritus class in road generateBackground, for that create a clone of attachAssetRadial that take an object insteade of an asset name but does the same thing
User prompt
use Detritus class in road generateBackground
User prompt
add a class for detritus
User prompt
Clone current system used to spanw Trees to spawn detritus
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
Code edit (1 edits merged)
Please save this source code
Code edit (3 edits merged)
Please save this source code
User prompt
log variables before the line if (!jumpAction && jumpStep >= PLAYER_JUMP_STEP_MIN || jumpStep >= PLAYER_JUMP_STEP_MAX)
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
Code edit (5 edits merged)
Please save this source code
User prompt
add an asset for the background
Code edit (14 edits merged)
Please save this source code
User prompt
in Sun class, animate the alpha of each circle alternatively
User prompt
Please fix the bug: 'Uncaught ReferenceError: rotation0 is not defined' in or related to this line: 'parent.attachAsset(asset, {' Line Number: 119
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
add a starfield in the background
Code edit (1 edits merged)
Please save this source code
Remix started
Copy The Road Runner
===================================================================
--- original.js
+++ change.js
@@ -234,9 +234,10 @@
height: 490,
anchorX: 0.5,
anchorY: 0.5,
//tint: 0x62C344
- tint: 0x87CEEB
+ //tint: 0x87CEEB,
+ tint: 0x555555
});
var destroyIndex = -1;
var regenerateIndex = -1;
;
@@ -672,10 +673,10 @@
var ROAD_STEP_COUNT = 5;
var ROAD_STEP_DEFAULT = 2;
var ROAD_STEP_HEIGHT_BASE = 400;
var ROAD_STEP_HEIGHT_INCREMENT = 0;
-var ROAD_STEP_CHANCE_BASE = 0.1;
-var ROAD_STEP_CHANCE_INCREMENT = 0.05;
+var ROAD_STEP_CHANCE_BASE = 0; //0.1;
+var ROAD_STEP_CHANCE_INCREMENT = 0; //0.05;
var ROAD_GEN_PLANT_ASSETS = 3;
var ROAD_GEN_PLANT_MAX = 3;
var ROAD_GEN_TREE_ASSETS = 4;
var ROAD_GEN_TREE_CHANCE = 0.1;
@@ -689,9 +690,9 @@
var PLAYER_JUMP_STEP_MIN = 1.0;
var PLAYER_JUMP_STEP_MAX = 2.0;
var PLAYER_JUMP_STEP_INCREMENT = 0.15;
var PLAYER_ANIMATION_SPEED_BASE = 0.02;
-var PLAYER_SCALE_BASE = 0.5;
+var PLAYER_SCALE_BASE = 1; //0.5;
var PLAYER_SPEED_BASE = MATH_2_PI / (GAME_TICKS * 10); // 10s to complete a revolution
var PLAYER_SPEED_FACTOR_BASE = 1.0;
var PLAYER_SPEED_FACTOR_MAX = 1.5;
var PLAYER_SPEED_FACTOR_INCREMENT = 0.001;
white
circle sliced into many pieces, flat image. 2d, white background, shadowless.
pixel art of a tall, tree. game asset, 2d, white background, shadowless.
pixel art cloud. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
dark space.
flying lava bubble. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a bonus crystal ball with the recycle symbol. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
top view A green round start button empty in the center like a ring.