Server Help

LVZ/LVL Questions - center coords for screenobjects

Lumenesc - Thu Jun 19, 2003 6:05 am
Post subject: center coords for screenobjects
im trying to find the coords that would center on the screen(centered on all screen sizes) so that it looks like something is happening to ship.

I've tried c-0,0(just gives me mid-top)
and since someone told me to, c,c though that didnt even build icon_confused.gif

thx if you can help
Doggeti - Thu Jun 19, 2003 6:19 am
Post subject:
Well, in c-0 you dont need to use - I think.
If you want to have middle of screen c0,c0 should do it, not only c,c.
SuSE - Thu Jun 19, 2003 6:33 am
Post subject:
c-1/2width,c-1/2height

so, if you had an image 300 pixels wide and 700 pixels high, you'd use...

c-150,c-350

since 1/2 of 300 is 150 & 1/2 of 700 is 350
Lumenesc - Thu Jun 19, 2003 4:45 pm
Post subject:
ohhhh thanks tongue.gif
SuSE - Thu Jun 19, 2003 6:14 pm
Post subject:
btw if you want it to be perfectly centered, the image needs to have an even number as its width & heigth - odd number width/height and it will be a pixel off sa_tongue.gif
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group