Can you put photos underneath the player in rpg maker XP?

aidan012

Villager
Member
Joined
Aug 23, 2020
Messages
20
Reaction score
4
First Language
English
Primarily Uses
RMXP
How would I go around making an image appear below the player?

Any and all help is appreciated. :)
 

KenKrath

Veteran
Veteran
Joined
Apr 4, 2015
Messages
111
Reaction score
90
First Language
English
Primarily Uses
One way I think you can try is to make the pic a parallax background. If you want the pic to appear and disappear though that would be something different
 

Zamazawarma

Villager
Member
Joined
Sep 28, 2020
Messages
10
Reaction score
2
First Language
French
Primarily Uses
RMXP
Hello Aidan,

You can put the player's X and Y position in two separate variables, then modify these variables as explained below, then use these modified variables for the picture's position.

The player's position is expressed in tiles, while the picture's position is expressed in pixels. A tile is 32 by 32 pixels. Thus, to place the picture just below the player, the position of the upper-left corner of the picture will be X = player's X position * 32 and Y = (player's Y position * 32) + 32

If your picture is the size of a tile (32x32 px), then you can just go with the formula above. If your picture has a different size, a little bit of tweaking might be required.

Edit: Wow, didn't realize this thread is one month old already.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

"How dare you!" is probably the most overused reason to start conflict.
Another day of mostly mapping in Make a Game in RPG Maker MZ: Episode 7 starting now! We're making a mansion! Come watch live and join in on the chat!
Game=Forest, Feature=Tree. There's little worth in looking at a tree except in its relation to how it affects the feel of the forest.
Been a while, guys. Despite being in college now, I'm working on Season's Promise as often as I can.
Helping my sister make her game
I hope i can get some freckles for the generator soon

Forum statistics

Threads
104,575
Messages
1,007,283
Members
136,057
Latest member
simonbelmont88
Top