Code edit (1 edits merged)
Please save this source code
User prompt
tint the stalk slightly light green
Code edit (7 edits merged)
Please save this source code
User prompt
use the lilypadStalk instead of the shapeBox, and no longer tint it
Code edit (3 edits merged)
Please save this source code
User prompt
Create a Lilypad class that has a shapeBox asset (as a stalk) and the lilypad asset. The shapeBox asset should have an anchor of (0.5, 0), be resized to a width of 25 and a height of 1.2 * its y position, have a random rotation between -10 degree and 10 degrees, and be tinted green
Code edit (2 edits merged)
Please save this source code
User prompt
Tint the foreground assets by 50% grey
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
tint the foreground by 50% grey
Code edit (7 edits merged)
Please save this source code
User prompt
create a new foreground class that contains 2 foreground assets side-by-side
Code edit (3 edits merged)
Please save this source code
User prompt
the background should have an opacity of 0.25
User prompt
Before creating the moon asset, create a background asset
User prompt
Create a Hook class that contains an empty highlightContainer Container and then a hook asset
Code edit (6 edits merged)
Please save this source code
User prompt
Give the Firewall class a speed var of FIREWALL_SPEED, which increases by FIREWALL_SPEED_INC in the update function. Additionally, increase its x value by speed in the update function
Code edit (1 edits merged)
Please save this source code
Code edit (7 edits merged)
Please save this source code
User prompt
after creating all the columns in the firewall, invert the array of children
Code edit (3 edits merged)
Please save this source code
User prompt
add an update function to the firewall which randomly selects 1 column from the columns array and inverts it's scaleX
Code edit (6 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -103,9 +103,10 @@
var background = game.addChild(LK.getAsset('background', {
anchorX: 0.5,
anchorY: 0.5,
x: GAME_WIDTH / 2,
- y: GAME_HEIGHT / 2
+ y: GAME_HEIGHT / 2,
+ alpha: 0.25
}));
var moon = game.addChild(LK.getAsset('moon', {
anchorX: 0.5,
anchorY: 0.5,
fireCrackle
Sound effect
frogTongue
Sound effect
frogDeath
Sound effect
lilypadBounce
Sound effect
noTarget
Sound effect
backgroundAmbient
Sound effect
fireCrackling1
Sound effect
fireCrackling2
Sound effect
fireCrackling3
Sound effect
fireCrackling4
Sound effect
frogBounce
Sound effect
pickupCaught
Sound effect