User prompt
replace the scoretext text2 class with a borderedText
Code edit (12 edits merged)
Please save this source code
User prompt
for the +1 text2 class, replace it with a borderedText instance instead
Code edit (2 edits merged)
Please save this source code
User prompt
create an iconRotate at the same location as the iconGear
User prompt
display an iconGear near the rowSpeed display
User prompt
Update the initial label as well
User prompt
the rowSpeed display should be multiplied by 60 and show only 1 decimal place
User prompt
remove the "row speed" label, display only the value, and update it when calling adjustRowSpeed
User prompt
display the rowSpeed at the top-right of the screen, in a smaller font size than the score
Code edit (1 edits merged)
Please save this source code
Code edit (3 edits merged)
Please save this source code
User prompt
create a new, fullwidth, 10 height shapebox at the lightlevel
User prompt
create a fullwidth, 10 height shapebox at the lightlevel
Code edit (11 edits merged)
Please save this source code
User prompt
add a shapeBox after the lightManager. The shape should be full width, have a height of LIGHT_LEVEL and tinted black
Code edit (1 edits merged)
Please save this source code
User prompt
attach a iconLight asset at the top of the screen, with an orange tint
Code edit (1 edits merged)
Please save this source code
User prompt
add a variance of LIGHT_GROW_VARIANCE to the LIGHT_GROW_SPEED
Code edit (2 edits merged)
Please save this source code
User prompt
Please fix the bug: 'seetings is not defined' in or related to this line: 'settings.xs = (seetings.xs || 0) + 1;' Line Number: 823
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'TypeError: blockClass is not a constructor' in or related to this line: 'var newBlock = self.parent.addChild(new blockClass({' Line Number: 637
Code edit (1 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -676,8 +676,15 @@
});
scoreText.anchor.set(0.5, 0);
LK.gui.top.addChild(scoreText);
var lightManager = game.addChild(new Container());
+var shapeBox = game.addChild(LK.getAsset('shapeBox', {
+ width: game.width,
+ height: LIGHT_LEVEL,
+ anchorX: 0.5,
+ anchorY: 0,
+ tint: 0x000000
+}));
var blockManager = game.addChild(new BlockManager());
var leftBorder = game.addChild(new Border({
x: 30
}));
@@ -689,24 +696,23 @@
x: game.width / 2,
y: LAVA_LINE
}));
game.addChild(new Glow({
- anchorX: 0.5,
- anchorY: 0,
x: game.width / 2,
- y: 0,
width: game.width,
height: 200,
+ anchorX: 0.5,
+ anchorY: 0,
rangeY: 200,
tint: 0x000000,
alpha: 2.0
}));
var iconLight = game.addChild(LK.getAsset('iconLight', {
x: game.width / 2,
- y: 0,
+ y: 125,
anchorX: 0.5,
- anchorY: 0,
- tint: 0xFFA500
+ anchorY: 0.5,
+ tint: 0xFF4D00
}));
function shuffle(array) {
var currentIndex = array.length;
while (currentIndex != 0) {
background
Music
light
Sound effect
rotate
Sound effect
error
Sound effect
crack
Sound effect
break
Sound effect
flow
Sound effect
bubble1
Sound effect
bubble2
Sound effect
bubble3
Sound effect
bubble4
Sound effect
bubble5
Sound effect
gong
Sound effect