Game Data: What is the difference of Map X,Y and Screen X,Y?

Alice's hat trick

Abraca....what was that again...?
Veteran
Joined
Jul 10, 2017
Messages
63
Reaction score
29
First Language
Cantonese
Primarily Uses
RMMV
As title!
(am referring to the game data of the player)
 

Faherya

The Knight of the Sad Figure
Veteran
Joined
Jul 25, 2013
Messages
256
Reaction score
590
First Language
Portuguese
Primarily Uses
RMVXA
Map X / Y are your coordinates on the complete map. Screen X / Y are your coordinates on the screen ignoring the position on the map. These are the coordinates used by HUDs and windows.
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,699
Reaction score
940
First Language
English
Primarily Uses
N/A
Also, map x/y is tile based, not pixel based. If your map is 20x20 tiles, your map x/y will ways be withing 20/20. The screen coordinates are based on pixels, and thus will be whatever number of pixels the game window is taking up.
 

Alice's hat trick

Abraca....what was that again...?
Veteran
Joined
Jul 10, 2017
Messages
63
Reaction score
29
First Language
Cantonese
Primarily Uses
RMMV
So if I'm locating the coordinates of the player in the map, than I shall use Map X,Y then! Thank you two very much!:kaothx:
 

Latest Threads

Latest Profile Posts

Too bad the Boss Battle Build Bout isn't also for VXAce.
I might not participate in the Boss Battle contest after all... I have more important things to do, like Wishful Wanda. And of course the Dark Deception spinoff I plan to pitch, Demon Slayer.
Changed my avatar, goodbye Alan Sugar, hello George Carlin (one of my favorite human beings ever)
If you still don't subscribe our Polish channel please consider it :)
1.png
Who wants to see my review of the worst star wars movie? This movie has all the excitement of being on Jury Duty of the most boring case ever about trade negotiations.

Forum statistics

Threads
115,171
Messages
1,087,815
Members
149,724
Latest member
scurvyDan
Top