Crash!!!!
BlitzMax Forums/BlitzMax Programming/Crash!!!!
| ||
https://www.youtube.com/watch?v=rO5HQeM6FFY please help! thanks. I even redownloaded and installed blitzmax. |
| ||
Your code is bad. Your loop isn't doing anything. It's just pegging the CPU. Add a KeyDown or AppTerminate in there. |
| ||
I did have one and it still crashed, I just added that code to test it. everytime I add the gfx command it, freezes and crashes |
| ||
I don't understand it was not working before but now it does?Graphics 800,600,32 While Not AppTerminate() Wend EndGraphics End How do I set depth without full screen? |
| ||
How do I set depth without full screen? IIRC in windowed mode you'll inherit whatever screen depth of the desktop itself is. |
| ||
Your main loop eats all performance of the computer. Windows itself need some time to do its things. But with your app windows cannot scan keyboard, etc. Use (and start always new projects) with this minimum code Superstrict Graphics 800,600 Global FPS:TTimer=CreateTimer(60) While Not AppTerminate() Cls Flip 0 WaitTimer FPS Wend End You cannot set DEPTH without fullscreen. Depth is given by windows as long as you share the graphic device with other apps. By default the DEPTH is 32bit. No need to change it |