Page 1 of 1
How can I use settimer in my game?

Posted:
Apr 30, 2003 @ 9:36am
by xpfde
I want to use settimer in my game,but there is no windows and message loop in program,what shuold I do?

Posted:
May 1, 2003 @ 5:10am
by xpfde
anybody can help me?THANKS

Posted:
May 1, 2003 @ 6:32am
by fzammetti
Look at the source file game.h in the PocketFrog/src/framework directory... a few lines from the top you'll see a message map... you should be able to pretty easily add a handler for the timer there.
However, I would think about whether you really need to use a timer or not... part of the point of PF is that everything you do is handled in your Gameloop()... what are you doing that you think that might not suffice?

Posted:
May 2, 2003 @ 4:07am
by xpfde

Posted:
May 2, 2003 @ 4:29am
by fzammetti

Posted:
May 5, 2003 @ 9:00am
by xpfde