User prompt
Swap the two first fixedColors
User prompt
For particles use fixed colors for particles. In order 93ffe9 82d756 ffb5b5 d7402f 96eb61 fdc143 f9ffff c76d49
User prompt
set particle blend mode to 1
User prompt
when spawning a particle, pass a long x and y offset. Use the grid container location and x and y offset
User prompt
Remember to tick particles in tick
User prompt
create a particle array to track particles
User prompt
Add particle effects when removing cells
User prompt
When removing cells, spawn snowflakes that fly off screen
User prompt
set heartWidth to 110
User prompt
use heartWidth for positing heart x values also when working with new heart
User prompt
se heartWidth for positing heart x values
Code edit (1 edits merged)
Please save this source code
User prompt
use heartWidth for positing heart x values
User prompt
Assume a fixed heart width of 100
User prompt
Do not set heartBackground alpha instead set blend mode to 1
User prompt
Fix Bug: 'TypeError: undefined is not an object (evaluating 'r[0]')' in this line: 'return true;' Line Number: 144
User prompt
do not set alpha on heartBackground but do set blend mode to .5 instead
User prompt
in heart add a background asset as well
User prompt
Instead of calling self.createAsset('heart' directly in life indicator create a heart class
User prompt
when calculating totalCellTypes in tick set it to 3+ and use 2000 instead of 1000
User prompt
In tick set max of totalCellTypes to 8
User prompt
Instead if incrementing totalCellTypes in tick. Calculate a new value for totalCellTypes based on your score. Where each 1k of points adds 1 more cell type.
User prompt
Don't increase totalCellTypes in tick. Instead calculate totalCellTypes such that each 1k of score is one extra cell type with a max of 8
User prompt
You should be rewarded extra points for removing large amount of cells. However exponential is to much.
User prompt
update score text after updating score
===================================================================
--- original.js
+++ change.js
@@ -138,9 +138,9 @@
});
var Game = Container.expand(function () {
var self = Container.call(this);
Game.prototype.createParticleEffect = function (x, y, type) {
- var fixedColors = [0x93ffe9, 0x82d756, 0xffb5b5, 0xd7402f, 0x96eb61, 0xfdc143, 0xf9ffff, 0xc76d49];
+ var fixedColors = [0x82d756, 0x93ffe9, 0xffb5b5, 0xd7402f, 0x96eb61, 0xfdc143, 0xf9ffff, 0xc76d49];
var color = fixedColors[type % fixedColors.length];
for (var i = 0; i < 10; i++) {
var particle = new Particle(color);
particle.x = x + gridContainer.x;
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.