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.

Charsets with no priority?

Hiyas,

I'm looking for a way to disable the priority on a specific charset, but I don't know how to do this. Basically I don't want anything to be able to go 'behind' it, so it's sort of entirely priority 0. (Like tileset ground~)

Thanks!!! ^_^;
 
This has given me a lot of trouble too and I really wish it was a feature in RMXP/RMVX. If I get this right, you have a particular event that you don't want anything to be able to pass behind? Do you mean ANYTHING (tiles too?) or just other events?

As far as I know, the first is impossible without scripting (unless this could be the only event on the screen, therefore you can simply increase the priority of all the tiles).

The second is...somewhat possible but annoyingly difficult. First of all, if you do indeed mean events, then a solution would be to simply not allow other events to pass through it by making sure Through is OFF. If this does not work for your situation, then one way to do this would be to keep track of the hero's coordinates and the event's coordinates and to set the Hero to Always ON TOP whenever the hero is on or near the event. This won't be a perfect solution though.

And if you mean for other events in addition to the hero, then you have N^2 complexity in terms of variable conditions, something that is virtually not doable in RMXP events because of its interface.

So, basically, if none of that works for you. You should probably ask in Script Requests or something.
 
Yea, I just need the player to be 'always on top' on it (it's for a 2-tile high portal that I want on the ground, but of course the top tile of the portal is set to a priority and everything will be behind it while they should be on top of the portal).
Ah, why didn't I think of Always On Top? Brilliant. Thanks! :D

Actually, I thought I posted this in RGSS support. No idea why I thought that. I'll do that now for later. :)
 

arev

Sponsor

You could use my "Character Correction" script and place the event with graphic higher than it should be. You can then move it's graphic down, but the Z coordinate stays the same, and is lower, so it won't overlap other events.
 

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