RPG Maker Forums

Hi everyone,
 
Ok so, I know I'm close because the icon appears close to where it should be, but when I move I can tell it is not right. I am trying to draw an Icon just above the players head along with some small text on the game map. The problem is I cant find the players x and y values in comparison to the screen.
 
Here is what I am working with now.

Code:
    x = $game_player.screen_x - $game_player.x    y = $game_player.screen_y - $game_player.y - 96

Latest Threads

Latest Profile Posts

Frostorm wrote on Featherbrain's profile.
Hey, so what species are your raptors? Any of these?
... so here's my main characters running around inside "Headspace", a place people use as a safe place away from anxious/panic related thinking.
Stream will be live shortly! I will be doing some music tonight! Feel free to drop by!
Made transition effects for going inside or outside using zoom, pixi filter, and a shutter effect
I have gathered enough feedback from a few selected people. But it is still available if you want to sign up https://forums.rpgmakerweb.com/index.php?threads/looking-for-testers-a-closed-tech-demo.130774/

Forum statistics

Threads
105,992
Messages
1,018,189
Members
137,771
Latest member
evoque
Top