
-----------------------------------
metachief
Wed Nov 05, 2008 11:48 pm

Is it possible to change resolution in Turing?
-----------------------------------
Does anyone know how to change the resolution of a Turing run window? I'm not quite sure how that would work in any case. If not, then could someone explain how resolution is changed in games.

-----------------------------------
gitoxa
Thu Nov 06, 2008 8:17 am

RE:Is it possible to change resolution in Turing?
-----------------------------------
View.Set("graphics:;")

Width and height are in pixels, i think the default is something like 600x400

-----------------------------------
ecookman
Thu Nov 06, 2008 8:20 am

Re: Is it possible to change resolution in Turing?
-----------------------------------
yes! you can 

the code is quite obvious once you see it lol



var win : int := Window.Open ("graphics:

now to break it down

you have your variable and you set that as an integer
then you tell the computer that the variable=open the window at.... 

where i have put 
View.Set ("graphics:max,max,nobuttonbar")




lol not so complicated once you see it right :mrgreen:

-----------------------------------
ecookman
Thu Nov 06, 2008 8:22 am

RE:Is it possible to change resolution in Turing?
-----------------------------------
grrrrr gitoxa you took my post as i went to the bathroommm   cheep shot

 
        
 

 
gitoxa

-----------------------------------
Tony
Thu Nov 06, 2008 11:12 am

RE:Is it possible to change resolution in Turing?
-----------------------------------
Hey guys, setting width and height is just that -- width and height of the window.

Resolution is the density of pixels. The number of pixels you can render in an inch of the physical screen. That involves hardware level graphics, so no, you can't do that in Turing.

-----------------------------------
metachief
Thu Nov 06, 2008 3:48 pm

RE:Is it possible to change resolution in Turing?
-----------------------------------
Oh, ok that's too bad. By the way, what language supports that? To everyone except Tony... View.Set("graphics:;") is pretty damn obvious, but that's not to change the resolution. If you increase the window size, it doesn't mean the things that you are displaing are going to increase as well, duh.

-----------------------------------
Tony
Thu Nov 06, 2008 4:06 pm

Re: RE:Is it possible to change resolution in Turing?
-----------------------------------
By the way, what language supports that?
Typically that would be done by a rendering engine such as OpenGL or DirectX. OpenGL comes with a load of bindings for various languages, which you can use.

-----------------------------------
metachief
Thu Nov 06, 2008 4:07 pm

RE:Is it possible to change resolution in Turing?
-----------------------------------
Oh, alright thanks.

-----------------------------------
pavol
Thu Nov 06, 2008 4:58 pm

RE:Is it possible to change resolution in Turing?
-----------------------------------
VB also has some APIs you can call to change the resolution for you. I don't remember what they are (I could check if you want) but you could always just make a small program like that and run it using Turing

-----------------------------------
Tony
Thu Nov 06, 2008 5:32 pm

RE:Is it possible to change resolution in Turing?
-----------------------------------
likely Win32 API calls -- not VB specific, anything that can interact with Windows OS can change some system settings.

-----------------------------------
ecookman
Fri Nov 07, 2008 8:34 am

RE:Is it possible to change resolution in Turing?
-----------------------------------
ooh srry i thought he ment the rendering size oops sorry
