Author |
Message |
minor59er Newbie
Age:35 Gender: Joined: Dec 14 2002 Posts: 11 Offline
|
Posted: 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? |
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Sat Dec 14, 2002 10:54 pm Post subject: |
|
|
|
|
512(tiles)*16(pixels) = 8192(pixels) |
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:40 Gender: Joined: Aug 01 2002 Posts: 3614 Location: Las Vegas Offline
|
Posted: 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. |
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Sat Dec 14, 2002 11:30 pm Post subject: |
|
|
|
|
oh, whoops! sorry if i confuzed anyone! |
|
Back to top |
|
|
SuSE Me measures good
Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: 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. |
|
Back to top |
|
|
SuSE Me measures good
Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: 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]). |
|
Back to top |
|
|
minor59er Newbie
Age:35 Gender: Joined: Dec 14 2002 Posts: 11 Offline
|
Posted: Sun Dec 15, 2002 12:35 am Post subject: |
|
|
|
|
Thanx for your help everyone |
|
Back to top |
|
|
SuSE Me measures good
Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Sun Dec 15, 2002 12:58 am Post subject: |
|
|
|
|
That'll be $3.00 |
|
Back to top |
|
|
|