| Razor Ground Force Razor brings you the new Ground Force Drifter the electric powered drifter kart based on the original Ground Force
Build your First Game with HTML5 » Allprowebdesigns.com 12 Jul 2011, 9:36 pm
function initGame(){ // create 2 big platforms createBox(world, 3, 230, 60, 180, true, 'ground'); createBox(world, 560, 360, 50, 50, true, 'ground'); // create small platforms for (var i = 0; i < 5; i++){ createBox(world, 150+(80*i), 360, 5 , 40+(i*15), true, ... radius This is the length of a line from the center of the circle to any point on its edge. restitution How the ball will lose, or gain force when collides with other body. friction How the ball will roll. ...
|
No comments:
Post a Comment