Game so sloooooow
by Mariano Burgos · in Torque Game Builder · 04/20/2008 (8:16 pm) · 2 replies
Hello !
I am making the tutorials on the SDK the fish game tutorial and fish demo also, however they are so slow after i add the background images (the rocks). Before i add the backgrounds, the game is not so slow, neither smooth, but we can say it is so so. Anyway if i build it, it is slow again. So, no matter if i am inside the level builder or running it as EXE.
One thing i have notice is that if i run the Adventure kit demo, if i use the OpenGL driver the game is very slow also, but if i use the D3D (DirectX) driver it is not so slow.
So, in the level builder, inside the preferences window i tell it to use the D3D driver, but in the console.log file, it is written that anyway it is using the OpenGL driver.
-------------------------------------------
Activating the OpenGL display device...
Setting screen mode to 800x600x32 (w)...
--------------------------------------------
I also tried to modificate the preferences/defaultPrefs.cs, i the section that says:
---------------------------------------------
$pref::Video::displayDevice = "OpenGL";
$pref::Video::preferOpenGL = 1;
---------------------------------------------
i wrote instead:
--------------------------------------------
$pref::Video::displayDevice = "D3D";
$pref::Video::preferOpenGL = 0;
---------------------------------------------
but the window game appears completely black.
So, seen this i undo this changes, i came back to OpenGL.
Any help will be appreciated,
thank you very much:
Mariano Burgos.
I am making the tutorials on the SDK the fish game tutorial and fish demo also, however they are so slow after i add the background images (the rocks). Before i add the backgrounds, the game is not so slow, neither smooth, but we can say it is so so. Anyway if i build it, it is slow again. So, no matter if i am inside the level builder or running it as EXE.
One thing i have notice is that if i run the Adventure kit demo, if i use the OpenGL driver the game is very slow also, but if i use the D3D (DirectX) driver it is not so slow.
So, in the level builder, inside the preferences window i tell it to use the D3D driver, but in the console.log file, it is written that anyway it is using the OpenGL driver.
-------------------------------------------
Activating the OpenGL display device...
Setting screen mode to 800x600x32 (w)...
--------------------------------------------
I also tried to modificate the preferences/defaultPrefs.cs, i the section that says:
---------------------------------------------
$pref::Video::displayDevice = "OpenGL";
$pref::Video::preferOpenGL = 1;
---------------------------------------------
i wrote instead:
--------------------------------------------
$pref::Video::displayDevice = "D3D";
$pref::Video::preferOpenGL = 0;
---------------------------------------------
but the window game appears completely black.
So, seen this i undo this changes, i came back to OpenGL.
Any help will be appreciated,
thank you very much:
Mariano Burgos.
#2
06/14/2008 (12:44 pm)
Hi Mariano, you also want to make sure you have Hardware Acceleration turned on. When it's off, you'll see lots of lag in the editor and games. If you need help turning it on, let us know.
Torque Owner Ehrlich