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.

[RMXP] How to change the hue of auto-tiles at run-time?

I'd like to have a situation in which all hidden passages on the map are, at a given time, permanently revealed. By hidden passages I mean roof tiles (autotiles) that events can pass through because their passage properties are rigged that way.

One nifty way of accomplishing this that I fancy would be to display the roof tiles that are acting as hidden passages in a different hue. The player will easily be able to tell that a purple-colored roof tile can be passed through.
I know the X,Y,Z coordinates of the autotiles on the map whose hue I want to change. I just don't know how to go about actually changing their hue at run-time. Any help?

edit: Weird, I'm having trouble finding the code that draws autotile bitmaps anywhere in the documentation. Looks like the first method I had in mind could be tricky. Might have to just do the obvious thing and crack open paint and create a new autotile with the hue I want, then add it to the map the old-fashioned way and just alter the tilemap map_data. It wouldn't be hard to do that, but the down side is I would have to do it for every roof autotile in the game.
 

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