how to change the video mode???

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
sir_gon
Posts: 13
Joined: Mon Oct 23, 2006 12:38 am
Contact:

how to change the video mode???

Post by sir_gon »

how to change the video mode while the system is being executed?

example: 1024x768x16 -> 800x600x32 -> 640x480x32

is possible?

I was reading the documentation but nonencounter not at all adapted to solve this :oops:
Ico
Posts: 289
Joined: Tue Aug 22, 2006 11:35 pm

Post by Ico »

Put your Init-Code into one function (easier this way) and when you want to change your screen resolution, shut down the engine and (re)call the init function. As far as i know there is no way to do it without restarting the engine. Just save your game state etc. "outside" of irrlicht and everything should be fine.
n00b
Posts: 58
Joined: Tue Sep 05, 2006 3:00 pm
Location: Earth
Contact:

Post by n00b »

theres a similar post to this some time back, just go and search for it.
anyway, i think theres a class somneone made that does this.
Post Reply