Norris's picture

Pause and resume a GameWindow posible ?

Hi !
Is it possible to "pause and resume" the gameloop of a GameWindow ?

I try to create a GUI system that is capable to animate controls smoothly. So I need to use the game loop capacity of the GameWindow, but I must be able to stop or reduce FPS when there is no animations or need to redraw.

I know that It will be better to use a GLControl with a special gameloop, but I'm not good enough to implement this kind of loop.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
devintelo's picture

Yes you should use GLControl , and no , it's more easier than Gamewindow

lid6j86's picture

if you are looking for a fast loop that has all the guts sitting out that you can use, I had a blog about it about a year ago. It may or may not suit your needs, but it may be a start to at least look at what's going on.