Tall characters and Parallax mapping

Good evening everyone, I've been working with parallax mapping for a while and getting the hang of it but one problem popped up and no matter how i search I can't find a solution.

I'm using a tall sprite i made and making the Parallax mapping with GALV's plugin and the problem is as follows:

image_2024-11-22_165628879.png


Screenshot 2024-11-22 165218.png


So as you can see in the first image the lamp post is supposed to cover the player when you walk behind it but, when in front of it, the sprite is too tall and it ends up behind the upper part.
The Lamp post is divided between two layers: a bottom one for the base and an above one for what should be in front of the player.
How do I make it so that this doesn't happen? I really have no clue where to even begin.
Thanks everyone in advance for your help!
I know you're saying it's a parallax, so these may not work, but from the looks of it... Maybe try these until one of the other dudes show up to help 😀
https://forums.rpgmakerweb.com/inde...board-js-you-can-walk-around-the-tile.129336/

https://hudell.itch.io/cyclone-tile-priority
your problem has nothing to do with parallax mapping, and the picture behaves exactly as you described - the problem is that you don't want that behaviour.

you do not want to split the lamppost in two parts of which one is always in front of the player.
what you want is a single piece lamp-post that is either completely behind the player or completely in front of the player depending on where the player is.
and that means changing the layer of the event depending on the player coordinates, which has nothing to do with parallax mapping itself.

if this is a rare occurrence, you can do this by making the lamp-post an event sprite with two pages, one below player and one above player, and switch between those pages with an event that checks player position.

if you have a lot of similar situations then you'll probably need a plugin for 2.5 Dimensional mapping, because parallax mapping is not supposed tohave a depth like that
I know you're saying it's a parallax, so these may not work, but from the looks of it... Maybe try these until one of the other dudes show up to help 😀
https://forums.rpgmakerweb.com/inde...board-js-you-can-walk-around-the-tile.129336/

https://hudell.itch.io/cyclone-tile-priority
Thanks a lot for this, but sadly just as you said it doesn't work for parallax 🙁

your problem has nothing to do with parallax mapping, and the picture behaves exactly as you described - the problem is that you don't want that behaviour.

you do not want to split the lamppost in two parts of which one is always in front of the player.
what you want is a single piece lamp-post that is either completely behind the player or completely in front of the player depending on where the player is.
and that means changing the layer of the event depending on the player coordinates, which has nothing to do with parallax mapping itself.

if this is a rare occurrence, you can do this by making the lamp-post an event sprite with two pages, one below player and one above player, and switch between those pages with an event that checks player position.

if you have a lot of similar situations then you'll probably need a plugin for 2.5 Dimensional mapping, because parallax mapping is not supposed tohave a depth like that
On this specific map this is happening to all the lamp posts i have (3 in total) plus some columns, and a trash can, while on another map it's happening to some boxes, pretty much it happens to every item you can walk behind.

How would i go about making the lamp post an event sprite? Wouldn't that only work with an in-editor sprite and not a parallax image? Because the only sprite i used in the map is the base terrain, the rest is all sprites that i took from sprite sheets, resized and then pasted into photoshop to make the parallax map.
I'm not 100% sure how this form of passability works with Parallax mapping, but I had an issue like this with star tiles? and there is a plugin to fix that, and if it works it's a very simple one to implement
How would i go about making the lamp post an event sprite? Wouldn't that only work with an in-editor sprite and not a parallax image?
you'll need it as an in-editor sprite, but nothing stops you from adding it as a sprite. And then of course it needs to be removed from the parallax image (you would need extremely carefull positioning to prevent a double image if it is both on the parallax and on a sprite.

I can't explain it at the moment, but I once wrote a tutorial for things like this - because sprites can be any size in the game, only for practical purposes the editor limits the display of larger sprites so that the tiles around remain acccessible in the editor - the sprites will always display full size when running the game

but I had an issue like this with star tiles? and there is a plugin to fix that
the visible effect is the same, but the OP does not use star tiles at all, and as a reason that fix will never work.
The OP manually split the lamppost into two different layers of the multilayer parallax map, and that can't be automatically fixed with a plugin - not without much more work as the plugin needs to know the different pictures instead of just checking for tiles with a star.
I did as you said and following your guide, plus i implemented the plugin linked by

SGHarlekin.​

Everything works now! I can safely keep working with tall characters without having to worry about strange clips, I'll have to create multiple custom sheets depending on my maps but I guess that's part of the process.
Thanks for the guide!

I know you're saying it's a parallax, so these may not work, but from the looks of it... Maybe try these until one of the other dudes show up to help 😀
https://forums.rpgmakerweb.com/inde...board-js-you-can-walk-around-the-tile.129336/

https://hudell.itch.io/cyclone-tile-priority
UPDATE i used this plugin after deciding to do as Andar said and convert the images into tiles and it worked! Thank you for this link you helped a lot!

​

Original thread: https://forums.rpgmakerweb.com/threads/tall-characters-and-parallax-mapping.173400/