Ok,
We have the X position:
– getMapXPos()
this is a fraction of the overall display:
(getMapXPos() / getMapWidth())
multiply by the width of the display.
Making sure to order them such that there is never a zero value
for the multiplication.
Ok,
We have the X position:
– getMapXPos()
this is a fraction of the overall display:
(getMapXPos() / getMapWidth())
multiply by the width of the display.
Making sure to order them such that there is never a zero value
for the multiplication.