This site is no longer active and is available for archival purposes only. Registration and login is disabled.

GameLoop()


GameLoop()

Postby pocketProggies » Sep 28, 2002 @ 10:55am

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.
pocketProggies
pm Member
 
Posts: 3
Joined: Sep 22, 2002 @ 10:54pm


GameLoop()

Postby BurningSheep » Sep 28, 2002 @ 2:09pm

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.
Do you want custom Snails levels? Click
User avatar
BurningSheep
pm Insider
 
Posts: 1226
Joined: Apr 12, 2002 @ 11:49pm
Location: The Netherlands


ending the game

Postby Conan » Sep 28, 2002 @ 2:16pm

What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby BurningSheep » Sep 28, 2002 @ 2:34pm

Do you want custom Snails levels? Click
User avatar
BurningSheep
pm Insider
 
Posts: 1226
Joined: Apr 12, 2002 @ 11:49pm
Location: The Netherlands


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron