Resolution change

Blitz3D Forums/Blitz3D Programming/Resolution change

Jeroen(Posted 2004) [#1]
Hi,

I am currently writing a resolution settings menu. When a setting is changed, I prefer Blitz to save the settings, exit and reload the application instead of Clearworld() and reloading entities and such. But...

1) I can't exit Blitz first and then reload the app, because...well I closed down the application ofcourse.
2) I can't execute another app (itself) from the script and THEN close down itself because as soon as I exectute another program, the rest (ending it's own program) is not executed anymore.

Does someone has a suggestion on how to do this better? I use Blitz3D.

Thanks.


John Pickford(Posted 2004) [#2]
Clear everything and reload.


Jeroen(Posted 2004) [#3]
I appriciate any help but please read my post.
I clearly said, in the first sentence, that reloading is exactly what I don't want.


eBusiness(Posted 2004) [#4]
A Graphics call will do it:
Graphics3D 800,600
texture=CreateTexture(2048,2048)
Repeat
	If KeyHit(28) Then
		Graphics 200,200,0,2
		ExecFile("testi.exe")
		End
	End If
	If KeyHit(1) Then End
Forever



Jeroen(Posted 2004) [#5]
awesome. Thank you.