User prompt
Don’t subtract 5 from ring y
User prompt
Move down stack container by 250px
User prompt
Move down stack container by 250px
User prompt
Use 79 rather than 39 in stack container x
User prompt
Use 368 rather than 358 in container x and y
User prompt
Add 39 to container x
User prompt
Add 109 to stack container x
User prompt
Update 230 to 358 in ring y code
User prompt
Reset stack container x and y to 358/2
User prompt
5x5
User prompt
7x5
User prompt
Make the grid 5x7
User prompt
In ring y code set 15 to 30
User prompt
When setting y of ring use 90 rather than 80
User prompt
When setting y of ring use 80 rather than 65
User prompt
Add self.rings.length*15 from ring y in stack
User prompt
Add self.rings.length*5 from ring y in stack
User prompt
Subtract self.rings.length*5 from ring y in stack
User prompt
Assume rings are 65px tall in stack y calc
User prompt
Assume rings are 55px tall in stack y calc
User prompt
Add 300px to stack container y
User prompt
Add 79 px to stack container x
User prompt
5x5
User prompt
Make stack grid have 6x5 stacks
User prompt
Update container x and y addition to 368/2
===================================================================
--- original.js
+++ change.js
@@ -26,10 +26,10 @@
var Game = Container.expand(function () {
var self = Container.call(this);
self.stacks = [];
var stackContainer = self.addChild(new Container());
- stackContainer.x = 358 / 2 + 39;
- stackContainer.y = 358 / 2;
+ stackContainer.x = 368 / 2 + 39;
+ stackContainer.y = 368 / 2;
for (var row = 0; row < 5; row++) {
for (var col = 0; col < 5; col++) {
var stack = stackContainer.addChild(new Stack());
stack.x = col * (stack.width + 10);
Amazing games background for wooden children’s rainbow stacking tower game.
Horizontal wooden rod. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Narrow Horizontal rod. Light wood Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.