Problem when walking behind higher elevation "floors"

Hi Khas,

I'm encountering a problem when my player walks behind higher elevation "floors".

Given the viewing angle of the RPG Maker perspective, it bugs me that I can't walk closer to the back side of a wall in many RPG Maker games. So in my game, I've given the "ceiling" tiles a star passibility so I can hug the back side of the walls. If that doesn't make sense, just keep reading. The screen grabs should show you what I'm talking about.

Here is my map:

XKN9gEY.png


And here are the regions I've set up, so that the shadows will work properly:

ThMUx2g.png


So I run the game, and I walk through the door way into the back room. So far so good:

PqpujgS.png


At this point, I take one step to the left. I'm actually standing behind the ceiling tile (it has star passibility), but the lighting engine seems to think I'm standing on the ceiling. As a result, it's only lighting region 2 tiles:

sYVkAmg.png


Granted, I can remove the regions altogether and it doesn't look too bad, as you can see from this final screenshot below. I've seen many a RPG work this way. But I lose the dynamic shadows, which is a bit of a bummer, because they're pretty cool. And the light bleeds through the wall into the adjoining room. (Again, a lot of other games work this way, but it would be nice if there were a way to fix this)

ISjGCeA.png


Do you think it would be possible to take the star passibility into consideration when you're checking the region and determining what elevation the player is standing on?
Unfortunately, this is a limitation of the engine. I would need Z Buffering to solve this issue, but it's too expensive to implement on VX Ace (I would be able to easily get the height of the light). It's very hard to deal with RPG Maker's perspective, so this is one of the special cases where my engine produces unexpected results.


Edit: one way to avoid this would be to block the character's passage there. I hope it wouldn't sacrifice gameplay too much.
Ah, okay. Thanks for the explanation!


I've actually disabled the shadows and have been using it without shadows for the past year, like you see in the last screenshot. It doesn't look too bad, and I've gotten used to it. I'd rather do continue to do that than to block the character's passage there, since I'm able to use that effect to create some hidden areas.

Original thread: https://forums.rpgmakerweb.com/threads/problem-when-walking-behind-higher-elevation-floors.53338/