New account registration is temporarily disabled.

RM2K3 CONVERTING COORDINATES

Posts

Pages: 1
If I know the map coordinates of a point how would I convert those to screen relative coordinates based on the hero's screen relative coordinates?
Multiply them by 16, or is it 32? yeah 16. You multiply by the number of pixels in a single tile. It works the other way around too.
Multiply by 16, than subtract by an offset corresponding to where you're screen is on the map. for 20x15 maps, this offset is always 0, since the screen doesn't move, but for bigger maps, it would be beneficial to have an event in the upper left corner of the map, and take it's screen relative coordinates as an offset.
@Link
That only works if your map is 20x15

@Kazusui
Thats a much a better idea then what I was doing lol. Thanks so much.
Pages: 1