Hi all, Is there any way to get real player position x,y not Grid position like pixel position ?!
Real actor position
RPG Maker MV SupportI don't know what the grid position means.
If you need the X,Y coordinates of where the player is standing on the current map, you can get the coordinates of the current player by assigning the character-player-map X and map Y in the game data field to the variables in control variables.
Thanks
the ._realX and ._realY might be what you want.
I think its what I'm looking for as I'm trying to set player coordinate as conditional branch But I'm using pixel movement and I need pixel coordinates... I'm not exactly sure how use "realX and ._realY" can you please explain further Thanks!
If you want the pixel on screen you need the .screenX() and .screenY() functions
If you want to know tile the .x and .y are what you want (so $gamePlayer.x or whatever)
Note that RMMV automatically rounds data stored into variable slots
If you want to know tile the .x and .y are what you want (so $gamePlayer.x or whatever)
Note that RMMV automatically rounds data stored into variable slots
Thank you!
Original thread: https://forums.rpgmakerweb.com/threads/real-actor-position.122659/