User prompt
Add a background graphics element to the game. Do not remove the line that sets background color to white
User prompt
Add a background graphics element to the game. Keep the white color
User prompt
Set background element alpha to .3
User prompt
Add a background graphics element to the game
User prompt
Set background color to ffffff
User prompt
Set game background color to ffffff
User prompt
Add a background element to the center of the game
User prompt
In cell set saturation to .5
User prompt
In cell set clock graphics x to -4
User prompt
In cell set clock graphics y to -8
User prompt
In cell set clock graphics y to -15
User prompt
Move up clock graphics by 15
User prompt
Move up clock graphics by 20px
User prompt
Set blend mode to 2 on clock graphics
User prompt
When setting click graphics rotation use 2xpi
User prompt
In cell make the rotation of the clock graphics reflect the cell self.type do this after self.type is set
User prompt
In cell make the rotation of the clock graphics reflect the cell type
User prompt
Make rotation of the clock graphics reflect the tile type
User prompt
Add a clock graphics element to cell
User prompt
Remove the label on cell
User prompt
When updating score also update label
User prompt
Delete the delete cell method
User prompt
When updating score, also update the score label
User prompt
When adding score update score yext
User prompt
Add 1 to the score for each merge
===================================================================
--- original.js
+++ change.js
@@ -145,12 +145,16 @@
});
var Game = Container.expand(function () {
var self = Container.call(this);
self.score = 0;
+ LK.stageContainer.setBackgroundColor(0xffffff);
var backgroundGraphics = self.createAsset('background', 'Background Graphics', 0, 0);
+ self.addChild(backgroundGraphics);
backgroundGraphics.width = 2048;
backgroundGraphics.height = 2732;
- self.addChildAt(backgroundGraphics, 0);
+ backgroundGraphics.x = 2048 / 2;
+ backgroundGraphics.y = 2732 / 2;
+ backgroundGraphics.anchor.set(0.5, 0.5);
self.findCellColRow = function (cell) {
for (var col = 0; col < gridWidth; col++) {
for (var row = 0; row < gridHeight; row++) {
if (grid[col][row] === cell) {
Simple White square round corners. Vector. No details. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Hour hand. Vector. Simple Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Simple Awesome background for clock chain reaction game. Vector high contrast.