Просмотр исходного кода

Fixed point collision examples

Ivan Safrin 13 лет назад
Родитель
Сommit
f458010cb8

+ 1 - 1
Examples/C++/Contents/2DPhysics_PointCollision/HelloPolycodeApp.cpp

@@ -7,7 +7,7 @@ HelloPolycodeApp::HelloPolycodeApp(PolycodeView *view) {
 	CoreServices::getInstance()->getResourceManager()->addArchive("Resources/default.pak");
 	CoreServices::getInstance()->getResourceManager()->addDirResource("default", false);	
 
-	screen = new PhysicsScreen(10, 50);
+	screen = new PhysicsScreen(0.5, 50);
 	lastEntity = NULL;
 	
 	for(int i=0; i < 50; i++) {

+ 1 - 1
Examples/Lua/2D_Physics/2DPhysics_PointCollision/Scripts/2DPhysics_PointCollision.lua

@@ -1,4 +1,4 @@
-screen = PhysicsScreen(10, 60)
+screen = PhysicsScreen(0.5, 60)
 lastEntity = nil
 
 for i=0,50 do