User prompt
Fix Bug: 'TypeError: undefined is not an object (evaluating 'self.snowflakes = []')' in this line: 'self.snowflakes = [];' Line Number: 76
User prompt
Add snow to the background with wind
User prompt
Have 8 different cell types
User prompt
Assume cells are 180x180 px
User prompt
Do not tint cell type
User prompt
Use separate assets for each cell type
User prompt
Move creation of cell graphics to after type is defined
User prompt
Rename total types to total cell types
User prompt
Make sure total types are defined in cell before using it for random type
User prompt
Define total types as a local variable in cell
User prompt
Remove total types from cell
User prompt
Make sure total types are defined before you try to use it in cell
User prompt
Use separate assets for each cell type. Do this by defining the asset after self.type is set
User prompt
Use type and not self type in cell asset
User prompt
Don’t use self.type in asset call, it’s not been defined yet.
User prompt
Use a different cell asset for each cell type
User prompt
Fix Bug: 'undefined is not an object (evaluating 'cellGraphics.tint = color')' in this line: 'cellGraphics.tint = color;' Line Number: 31
User prompt
Use a separate asset for each cell typE
User prompt
Have five cell types
User prompt
Make cells drop twice as fast
User prompt
Fix Bug: 'TypeError: lifeGraphics.setText is not a function. (In 'lifeGraphics.setText(self.lives.toString())', 'lifeGraphics.setText' is undefined)' in this line: 'lifeGraphics.setText(self.lives.toString());' Line Number: 11
User prompt
Add a life indicator to top right corner of the game
User prompt
Only have 3 tile colors
User prompt
Make grid 8x8
Initial prompt
Copy Grid Template
===================================================================
--- original.js
+++ change.js
@@ -98,8 +98,9 @@
}
}
});
var self = Container.call(this);
+ self.snowflakes = [];
var gridWidth = 8;
var gridHeight = 8;
var gridSpacing = 8;
var cellWidth = 180;
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.