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? |
/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. |
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.