Josh Engebretson 11 years ago
parent
commit
a7d5dc3952

+ 1 - 1
PhysicsPlatformer/Resources/Components/Coin.js

@@ -47,7 +47,7 @@ function update(timeStep) {
         // Set friction.
         // Set friction.
         circle.friction = .2;
         circle.friction = .2;
         // Set restitution
         // Set restitution
-        circle.setRestitution(1.1);
+        circle.setRestitution(.8);
 
 
 
 
     }
     }

+ 1 - 1
PhysicsPlatformer/Resources/Components/Level.js

@@ -19,7 +19,7 @@ self.coinNodes = [];
 // parsed coins
 // parsed coins
 var coins = [];
 var coins = [];
 
 
-camera.setZoom(.75);
+camera.setZoom(.9);
 
 
 
 
 self.onPhysicsBeginContact2D = function(world, bodyA, bodyB, nodeA, nodeB) {
 self.onPhysicsBeginContact2D = function(world, bodyA, bodyB, nodeA, nodeB) {