Page 1 of 1

GameLoop()

PostPosted: Sep 28, 2002 @ 10:55am
by pocketProggies
After tinkering with PocketFrog a little, I have noticed that oddly enough, even after execution of GameLoop() SHOULD end, i.e. the last instruction has been executed, GameLoop() starts right back from the beginning again. After closely examining the examples, I am wondering how I end execution of GameLoop() after one iteration. Using a semaphore has not worked, nor have other convential methods of loop control. It does not seem logical to have the program start over again at the beginning of GameLoop() once the program should have already ended.

GameLoop()

PostPosted: Sep 28, 2002 @ 2:09pm
by BurningSheep
GameLoop() will get called over and over again until you tell the app to exit by calling the function Shutdown()
This is the way PocketFrog was designed, you are supposed to draw one frame everytime GameLoop() gets called.

ending the game

PostPosted: Sep 28, 2002 @ 2:16pm
by Conan

PostPosted: Sep 28, 2002 @ 2:34pm
by BurningSheep