My goal: Have a constant view area around player no matter the size of the screen.
1st Attempt: I made an Img appear that's height and width was set determined by the screenwidth/screenheight.
Problem: couldn't see chat bar..and the black is ugly
2nd Attemp:
PHP Code:
function onTimeOut() {
setTimer(0.05);
this.controlWidth = 600;
this.controlHeight = 550;
with(GraalControl){
x=screenwidth/2;
y=screenheight/2;
width=thiso.controlWidth;
height=thiso.controlHeight;
}
Problem: It wouldn't center right, had to restart client before getting on another server to reset the black border, and once again, black is ugly...
Solution IDEASo I had this idea. A function that zooms everything determined on the screen size. Of what I heard There are some commands like camerabounds and camerasize but they are totally undocumented.
Thoughts?