Change resulution, without quit game.

hello all
i have made a test that makes you change the resulution, witheout quiting the game,

http://www.ikx.no/halle/files/change%20resulution.rar

—importent—
ok, afther you have downloaded the .rar extract the files to a ‘directory’, and make all files withe the name .fl start in the blender player, then start 640x480.fl
—importent—
glad for anny coments…

Wow good idea and not realy good. *.bat with blender Player is realy best!

Download http://blender.borec.cz/newres.zip
3.5 MB

Launch : hell.bat !!!

Controls:
Arrow keys : move
Mouse : head moving
[ ] : change gun

in menu you must take mouse cursor on the text (changed options)
and hold keys (<- ->) !

Good day and Happy Blending
(sorry for my bad English)

so, you couldn’t tell me how it works before I download it?

Sorry it´s bad compress

Download it now its OK !

http://blender.borec.cz/newres.zip

edits a .bat file to re-launch the blender player with a different specified resolution

my problem with it: doesn’t detect supported resolutions from system, but I don’t know of what api would give you access to that.


Nor.J, why the hoops?

it works okay (600x800 isn’t a supported resolution, so shows up that size in a borderless window)

if you can use the os module, why not use os.spawn(“blenderplayer blendfile otherargs…”)
(which is only somewhat better than editing a .bat file and running it)

the methode i used is unstable yes, but it worked perfect here, :expressionless: , i dont know why it isent in your pc`s… annyways, i am not going to use this methode in anny game i am making

this methode isent anny better…

I thought you said without quiting the game? Reloading with a .bat file is the same as quitting the game, surely?!

Keith. 8)

[quote=“gorgan_almi”]

I thought you said without quiting the game? Reloading with a .bat file is the same as quitting the game, surely?!

Keith. 8)[/quote]
lanunching the blender player with a different blend file (with extension .fl) is the same as quitting the game, surely?!

there is no way to change the resolution without quitting, but it can be made pretty seamless if you can save and reload where you left off.

I mean: My sample is using for safe disk space. (for web)
I dont know what working NOR.J sample,but my is working and i am happy!

mine work to, lol… well this is not a big deal all this iss it? :wink: