Code edit (1 edits merged)
Please save this source code
User prompt
in tile set cell Zbert starts on to target colour
Code edit (1 edits merged)
Please save this source code
User prompt
set flipped colour to target colour.. add target colours to array and start at index 0
User prompt
add variable called targetcolours. set a choice of 12 colours for this variable
Code edit (4 edits merged)
Please save this source code
User prompt
check when moving Zbert that if he is not on a tile then move Zbert back behind grid and let him fall to the bottom of the screen
Code edit (1 edits merged)
Please save this source code
User prompt
check when moving Zbert that when button released he is on a tile. If not then move Zbert back behind grid and let him drop fast to the bottom of the screen
User prompt
check when moving Zbert that when button released he is on a tile. If not then move Zbert back behind grid and apply gravity
Code edit (3 edits merged)
Please save this source code
User prompt
Add alpha to control buttons
User prompt
when detecting the tile Zbert is on, pick the tile directly below Zbert
Code edit (1 edits merged)
Please save this source code
User prompt
Fix Bug: 'Uncaught TypeError: tileColorCounter.updateCounts is not a function' in or related to this line: 'tileColorCounter.updateCounts(tileColorCounter.whiteCount, tileColorCounter.greenCount);' Line Number: 117
User prompt
Fix Bug: 'Uncaught ReferenceError: tileColorCounter is not defined' in or related to this line: 'tileColorCounter.whiteCount++;' Line Number: 107
Code edit (2 edits merged)
Please save this source code
User prompt
Fix Bug: 'Uncaught ReferenceError: initializeTileColorCounter is not defined' in or related to this line: 'initializeTileColorCounter();' Line Number: 218
User prompt
remove tile colour counter from game
User prompt
when Zbert moves from one tile to the next detect where Zbert is and flip tile that Zbert interacts with
Code edit (7 edits merged)
Please save this source code
User prompt
When controlbuttons are pressed, tint buttons orange. remove tint when buttons are released
Code edit (1 edits merged)
Please save this source code
Code edit (7 edits merged)
Please save this source code
User prompt
Set rotation point of control buttons to centre point of asset
===================================================================
--- original.js
+++ change.js
@@ -156,9 +156,9 @@
});
var Tile = Container.expand(function (gridX, gridY, width, height, gridSize) {
var self = Container.call(this);
self.gridSize = gridSize;
- self.color = gridX === self.gridSize - 1 && gridY === 0 ? 0x33d62a : 0xFFFFFF; // Set all cells to white apart from the cell Zbert is on in the bottom left corner, set this cell to green
+ self.color = gridX === self.gridSize - 1 && gridY === 0 ? targetColours[targetColourIndex] : 0xFFFFFF; // Set all cells to white apart from the cell Zbert is on in the bottom left corner, set this cell to green
var tileGraphics = self.attachAsset('tile', {
anchorX: 0.5,
anchorY: 0.5
});
beautiful landscape. starry sky, pastel colours, high definition, alien world. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
beautiful landscape. starry sky, pastel colours, high definition, alien world.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
beautiful expansive landscape. starry sky, pastel colours, high definition, alien world.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
beautiful expansive landscape. starry sky, pastel colours, high definition, alien world.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A little cube person. 2 legs. back to viewer. facing 45 degrees to the right. multicoloured skin, cartoon style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
white circle. metallic. light bevel on edge. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Round furry, cute alien ball with big eyes. vivid colours, looking at 45 degrees to the right. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
bright 3d present with bow, vivd colours. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Change to be vivid multicoloured cube
A simple Triangle, flat shaded, bevelled edges. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Speech bubble with expletive word in it. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
parachute. multicoloured. cartoon style.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
white circle with a single thin black border. flat shade. simple graphic. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
small star shape, vivid metallic blue, varying length spikes on star. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.