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
@@ -54,18 +54,19 @@
var self = ConfigContainer.call(this, config);
var background = self.addChild(new Container());
self.attachAsset('roadSegment', {
anchorX: 1,
- anchorY: 1
+ anchorY: 1,
+ tint: 0x62C344
});
self.attachAsset('roadSegment', {
anchorX: 1,
anchorY: 1,
scaleX: 0.95,
scaleY: 0.95,
- tint: 0x555555
+ tint: 0x62C344 // TEMP DEBUG0x555555
});
- if (config.index % 3 === 0) {
+ if (false && config.index % 3 === 0) {
attachAssetRadial(self, 'square', {
offset: 200,
width: 100,
height: 10,
@@ -94,9 +95,9 @@
anchorX: obj.anchorX,
anchorY: obj.anchorY,
scaleX: obj.scaleX || 1,
scaleY: obj.scaleY || 1,
- rotation: (obj.rotation || 0) + rotation - 2
+ rotation: (obj.rotation || 0) + 0
});
}
function generateBackground() {
console.log(self.distance);
@@ -226,9 +227,10 @@
width: 490,
height: 490,
anchorX: 0.5,
anchorY: 0.5,
- tint: 0x87CEEB
+ tint: 0x62C344
+ // OLD tint: 0x87CEEB
});
var destroyIndex = -1;
var regenerateIndex = -1;
;
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.