LVZ/LVL Questions - center minor59er - Sat Dec 14, 2002 9:37 pm Post subject: center
what is the number for the center on the screen for lvz and how do u find out the coords for the mapobject?
Dr Brain - Sat Dec 14, 2002 10:54 pm Post subject:
512(tiles)*16(pixels) = 8192(pixels)
Mine GO BOOM - Sat Dec 14, 2002 11:15 pm Post subject:
For the center of the screen, you need to get the image's height and width, divide both by two, and do C-#. Say you have a 50x30 image. You would put C-25,C-15
For center of map, see above post.
Dr Brain - Sat Dec 14, 2002 11:30 pm Post subject:
oh, whoops! sorry if i confuzed anyone!
SuSE - Sat Dec 14, 2002 11:31 pm Post subject:
Note that to center an image on the map, you'll have to do the li'l dividing by half thing Mine mentioned, but from 8192, as the coords 8192, 8192 will place only the very top left corner pixel of your image at the center, so a sizeable image will actually appear off-center if you don't subtract some.
Also, for screen images, if you're using what many call a "banner" a good idea is to make the Y value C-250, this will place the banner well above a ship so players do not yell about it, but low enough to be viewed by silly punks with 800 x 600 resolution.
SuSE - Sat Dec 14, 2002 11:34 pm Post subject:
Oh...hrmmm
For map objects, a simple way is to you open up your map in SSME, find the coords (displayed in the bottom bar) and multiply them both by 16 (lvz uses every pixel as a coord instead of every tile [16 x 16 pixel squares]).
minor59er - Sun Dec 15, 2002 12:35 am Post subject:
Thanx for your help everyone
SuSE - Sun Dec 15, 2002 12:58 am Post subject:
That'll be $3.00