User prompt
set bg color to 20497b
User prompt
set bg color to 478ff6
User prompt
Also update LK.setScore when updating scores
User prompt
Also update LK.setScore when updating scores
User prompt
When spawning particles in life indicator set gravityMultiplier to 0 on those particels
User prompt
On particle add a gravity multiplier and set it to 1. Multiply the Speed y modifier with that when updating speedy y in tick
User prompt
On particle add a gravity multiplier and set it to 1. Multiply the Speed y modifier with that
User prompt
Update life container to have it's own particle effect system for spawning particles when a life is lost
User prompt
Update life indicator to spawn particles when lives are lost
User prompt
move down LifeIndicator by 10px
Code edit (1 edits merged)
Please save this source code
User prompt
Move up board by 50px
User prompt
Update fixed colors to 82d756 5ecde9 f8a4a0 921d2a 7719f9 ffffff efa63b 7dd6a4
Code edit (1 edits merged)
Please save this source code
User prompt
Move up grid by 50px
User prompt
Update fixed colors to 82d756 5ecde9 f8a4a0 921d2a 7719f9 efa63b ffffff 7dd6a4
User prompt
add 5 to boardBackground y
User prompt
add 15 to boardBackground y
User prompt
assume cell width and hight are 200
User prompt
Set total cell types to 8 on init
User prompt
Move the 3 added to grid container x
User prompt
Initialize game with 8 total cell types
User prompt
Move board right by 3px
User prompt
Move down boardBackground.y by 5 px
User prompt
Add 20px to boardBackground y
===================================================================
--- original.js
+++ change.js
@@ -48,8 +48,9 @@
lives = Math.max(0, lives);
while (self.hearts.length > lives) {
var heart = self.hearts.pop();
if (heart) {
+ Game.prototype.createParticleEffect.call(this, heart.x + this.parent.x, heart.y + this.parent.y, 0);
heart.destroy();
}
}
while (self.hearts.length < lives) {
Cartoon Christmas decoration Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Cartoon Christmas candy cane Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Cartoon Christmas stocking Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Cartoon Christmas yellow starr Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Cartoon Christmas ornament Blue Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Cartoon Christmas snow flake. Blue Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Cartoon Christmas outdoor scene. Forest, northern lights. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
White square. Narrow round corners. Background element. Flat. Vector. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Cartoon Christmas heart Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Simple Cartoon Christmas particle. White. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Cartoon Christmas ornament yellow and purple Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Cartoon Christmas snow man head. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Simple Cartoon Christmas wreath. Purple Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.