how do you use scale_resolution?

Started by MisterN, August 06, 2012, 04:16:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MisterN

I cant find any english tutorials or a wiki article.
werg

handsource-dyko

I think it is a new feature. I haven't looked at it yet.

Kloppix

#2
 It's a predefined global variable used to resize the screen. Internally the game still uses the set_mode()'s resolution but it's displayed on the screen at the new resolution.

scale_resolution=WWWWHHHH (where WWWW is the width and the HHHH is the Height).For example "scale_resolution=08000600;" means 800x600

It seems to work only before set_mode(). I'm not sure if this behavior is normal, though.*

*Edited: Yep. It's normal. Im going to add this to the Wiki today.

Kloppix

Already added to the wiki...or at least what I understood ;) Take a look:  http://wiki.bennugd.org/index.php?title=Scale_resolution.

I saw there are also scale_resolution_aspectratio & scale_resolution_orientation. I'm going to chek them tomorrow.

MisterN

werg

Kloppix

I finally found what scale_resolution_aspectratio & scale_resolution_orientation does and added them to the Wiki. Please comment any mistake. ;)

http://wiki.bennugd.org/index.php?title=Scale_resolution_aspectratio
http://wiki.bennugd.org/index.php?title=Scale_resolution_orientation


handsource-dyko


Kloppix

Quote from: handsource-dyko on August 09, 2012, 07:19:30 PM
Nice rendering. Is it raytraced?
It was made in blender, so it's most likely raytraced. MZ upload also the .blend version here http://forum.bennugd.org/index.php?topic=1492.0

BTW. Happy Birthday dude!