Posted By: 3run
Splitscreen with different resolutions - 11/13/10 23:09
I've made simple splitscreen with two views like this:
But, how can I make views size change automatically depending on the screen resolution? Do I need to use 'screen_size'? Thank you.
Code:
VIEW* camera1 = // top
{
layer = 15;
arc = 80;
pos_x = 0;
pos_y = 0;
size_x = 800;
size_y = 300;
flags = SHOW;
}
VIEW* camera2 = // bottom
{
layer = 15;
arc = 80;
pos_x = 0;
pos_y = 300;
size_x = 800;
size_y = 300;
flags = SHOW;
}