Hot swapping resolution?

Blitz3D Forums/Blitz3D Programming/Hot swapping resolution?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Reloading all media would be a pain in the arse
It actually isn't. If you have a LoadAssets() and a FreeAssets() function, simply call FreeAssets(), change the resolution, then LoadAssets().

You'll need to implement a 'flag' on your options screen which is usually 'false' but changes to 'true' if you select a different resolution/depth/whatever. That way you know you're going to have to change the resolution and reload everything when the user clicks "ok".

Its pretty simple really. Just needs a bit of thought.