|
Post by PeterMaria on Apr 19, 2016 14:18:26 GMT -5
Hello Mister Mulgrew, I do not know, but looks like a bug. If I quit a program here, the window won't closed. Below is an image, which shows "program completed" but the window is still present! Attachments:
|
|
|
Post by Tom Mulgrew on Apr 19, 2016 20:35:23 GMT -5
Hi,
The window stays open on purpose. So that if you write a simple program like print "Hello world" or glBegin(GL_TRIANGLES) glVertex3f(0, 10, -30) glVertex3f(8, -4, -30) glVertex3f(-8, -4, -30) glEnd() SwapBuffers() you can see the result.
Otherwise you would have put something like "while inkey$()="":wend" at the end which is not very beginner friendly.
If you create a standalone exe, you have the option to have the window close as soon as the program finishes.
|
|
|
Post by PeterMaria on Apr 20, 2016 9:36:07 GMT -5
Hi,
My game has no "inkey$ at his end.
The construction is:
MainMenu End
I placed the game in the demo section.
|
|