Code edit (4 edits merged)
Please save this source code
User prompt
add an empty, basic Container to the Lava class before creating the slices called the particleContainer
Code edit (1 edits merged)
Please save this source code
User prompt
the glow should have a random rotation (from 0 to pi), and the initial random velocities should be increased by a factor of 10
User prompt
instead of the LavaParticle having a shapeEllipse, use a glow class instance, with a aforementioned properties
User prompt
every tick a lavaSlice has a 5% chance of creating a lava particle along it's length
User prompt
Create a LavaParticle class comprised of a glow instance with anchor of (0.5, 0.5), width and height of 15, 3 layers, tint of 0xFF4D00, and x and y range of 5. The particle should have a random x and y velocities ranging from -0.1 to 0.1 on the x and -1 to -0.2 on the y. Additionally the particle should be affected by gravity and it destroyed when it goes below the game height
User prompt
what is wrong with the line: `self.y = Math.max(0, Math.sin(game.ticks / 60 + self.index) * 10);`
Code edit (7 edits merged)
Please save this source code
User prompt
remove the horizontal line shapebox
Code edit (2 edits merged)
Please save this source code
User prompt
the iconRotate asset should be created by using the borderedicon instead
Code edit (1 edits merged)
Please save this source code
User prompt
set the starting score to 1000
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
===================================================================
--- original.js
+++ change.js
@@ -810,9 +810,10 @@
};
var lightSources = 0;
var rowSpeed = ROW_SPEED_BASE;
var rowSpeedIncrease = ROW_SPEED_INCREASE;
-var scoreText = new BorderedText('0', {
+LK.setScore(1000);
+var scoreText = new BorderedText('1000', {
size: 100,
fill: TEXT_DEFAULT_FILL,
border: TEXT_DEFAULT_BORDER,
anchorX: 0.5,
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