June 2015
Beginner
354 pages
8h 23m
English
untangle.data.js file in the text editor.circle object definition code in the JavaScript file:untangleGame.Circle = function(x,y,radius){
this.x = x;
this.y = y;
this.radius = radius;
}untangleGame object:untangleGame.circles = [];
circles array. Add the following line before calling the drawCircle function, inside the createRandomCircles function:untangleGame.circles.push(new untangleGame.Circle(x,y,circleRadius));
untangle.data.js file:if (untangleGame === undefined) ...
Read now
Unlock full access