EQInterface Forums

EQInterface Forums (http://www.eqinterface.com/forums/index.php)
-   Help ! ? ! ? (http://www.eqinterface.com/forums/forumdisplay.php?f=16)
-   -   Stage size (http://www.eqinterface.com/forums/showthread.php?t=21)

Karsan 07-26-2002 05:19 PM

Stage size
 
Somewhere I remember seeing something about setting the size of the actual "world view" as it shows up on the screen... so I could use a 1024x768 screen resolution, but cram the game window across only the top 2/3 of the screen and make fully opaque text boxes across the bottom without cutting out any of the gameview... what's the command to do that?

/viewport x1, y1, x2, y2 or something to that effect?

Moraethe 07-26-2002 05:39 PM

/viewport a b c d

a - distance from left

b - distance from top

c - width

d - height

The numbers correspond to resolution size. So an 800 width on 800x600 resolution would span the whole screen width.

Hope that helps.

Karsan 07-26-2002 08:57 PM

Thanks, I remembered that you were defining a box and just telling it the top left and bottom right coordinates -- well, in the bottom right corner's case, the offset from the top left origin, but that's cool. I've got it working, thanks.


All times are GMT -5. The time now is 07:09 PM.

vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.