User prompt
If I tap the screen make nearby squares bounce away and then rubber band back again
User prompt
Try blend mode 3
User prompt
Set blend mode to 2 instead
User prompt
Set square blend mode to 1
User prompt
Make it 2000 squares
User prompt
Add 400 more square and make them have random sizes
User prompt
Tint the squares with a random color
User prompt
Add 100 more squares
Initial prompt
Test game
===================================================================
--- original.js
+++ change.js
@@ -1,9 +1,9 @@
var SpinningSquare = Container.expand(function () {
var self = Container.call(this);
var squareGraphics = self.createAsset('square', 'Spinning Square', Math.random(), Math.random());
squareGraphics.tint = Math.random() * 0xFFFFFF;
- squareGraphics.blendMode = 2;
+ squareGraphics.blendMode = 3;
self.rotationSpeed = 0.01;
self.rotate = function () {
self.rotation += self.rotationSpeed;
};