whats the default frame rate for screen
whats the default frame rate for screen
anyone have an idea?
Re: whats the default frame rate for screen
If FlipMode = #PB_Screen_NoSynchronization, then the frame rate is unlimited (as fast as your program can go). If FlipMode = anything else, the frame rate is the refresh rate of the user's monitor.
Re: whats the default frame rate for screen
Ah ok thanks for the info. So what if the framerate was changed with SetFrameRate() how would i change it back to what it was before?
-
- Addict
- Posts: 1675
- Joined: Sun Dec 12, 2010 12:36 am
- Location: Somewhere in the midwest
- Contact:
Re: whats the default frame rate for screen
Store the previous value in a variable, and have a procedure restore that value when called.
If this is for a game, you can just decide on the defaults you want, and have them initialize to those values, and have a "restore default settings" function, that either works globally on everything, specific to the settings tab, or specific to the menu item used to change the option in general. It's all about how detailed you want it to be.
If this is for a game, you can just decide on the defaults you want, and have them initialize to those values, and have a "restore default settings" function, that either works globally on everything, specific to the settings tab, or specific to the menu item used to change the option in general. It's all about how detailed you want it to be.