Hi there, I can’t start this game since Test 3
when I run, screen is more brightly but get back soon, and doent’t play without any message.
but I found something in my computer.
Actually, I have started making a game which uses LWJGL 0.5.
So, I can’t make it run on my computer by following codes. - this is sample code in NEHE ( It works window mode but Not in FullScreen)
DisplayMode[] modes = Display.getAvailableDisplayModes();
for (int i = 0; i < modes.length; i++) {
if (modes[i].width == 800 &&
modes[i].height == 600 &&
modes[i].bpp == 16) {
displayMode = modes[i];
break;
}
}
But I changed it to
DisplayMode[] modes = Display.getAvailableDisplayModes();
for (int i = 0; i < modes.length; i++) {
if (modes[i].width == 800 &&
modes[i].height == 600 &&
modes[i].bpp == 16 &&
modes[i].depth == 16 &&
modes[i].stencil == 0 &&
modes[i].alpha == 0) {
displayMode = modes[i];
break;
}
}
Finnally, I make it.
My spec is
AMD Duron 700, GeForce2MX400, 256MB.
If you can, please make it window-mode for me.