Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Characters Clipping Through Tiles

Hi everyone. I seem to be having a bit of an issue with large characters (specifically, a carriage) clipping through tiles of high priority (in this case, a bridge that the carriage is supposed to go under).

ALL my bridge tiles have the proper priority. A tiny, normal-sized character walks under them just fine. It's only large characters that seem to cause the clipping, and it only appears for a brief second or two before working properly.

Here's a screenshot. This seems too annoying an issue to lack a workaround. I wonder if anyone here has figured it out? I searched the forums but didn't really see anything. I apologize in advance if this has been asked before.

95xv2x.png
 
Would it not work to give the bridge tiles higher priority? (I believe 4 and 5 always show above charsets, unless marked "Always on Top.") It shouldn't affect the player.
 
Oh yeah, I've had this design problem... Baisically the prioritised tiles go under the character if they are more or equal to the priorites number tiles beneath them.

Hard to explain, but if you look at *1, when and event is one tile beneath it, it goes under the character.

But if that tile is *2 instead, it will go over the even. But if the event is two tiles down, it will go under it again.

This is a feature designed for use with trees and the like. That way, big characters will still appear in front of the tiles in the tree if they are below the tree, and appear behind it if they are above it.

Of course, that therefore presents a conundrum with your case. See, the carriage is larger than 5 tiles, and so it will appear above tiles that are *5 if it is 5 tiles below it. That's why the 5 tiles above the carriage are appearing over the carriage, and the rest below it.

I'd suggest making a charset of your bridge. Take a screen capture of it, and make it into and event. Pop it on your map, and set it to Through, and Always on Top. That way this silly priority system is bypassed, because it is... always on top (See what I did there?)
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top