===================================================================
--- original.js
+++ change.js
@@ -42,13 +42,8 @@
break;
}
return (Math.round(r * 255) << 16) + (Math.round(g * 255) << 8) + Math.round(b * 255);
};
- self.setTint = function () {
- var hue = (Math.log2(self.value) + 6) % 20 / 20;
- tileGraphics.tint = hsvToRgb(hue, 0.5, 1);
- };
- self.setTint();
var tileLabel = new Text2(self.value.toString(), {
size: 300,
fill: '#332d28',
font: 'bold'
@@ -161,9 +156,8 @@
}
return false;
};
var gridSize = 4;
- LK.stageContainer.setBackgroundColor(0xD3D3D3);
var gridContainer = new Container();
gridContainer.x = 44;
gridContainer.y = 400;
self.addChild(gridContainer);