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.

Set tone for a Sprite object?

I'm currently working on trying to find a way to show a HUD-like meter on the screen but I'm running into a big issue.

The teleport events in the game all set the screen tone to zero before teleporting, then they restore the screen tone. My HUD is simply a collection of Sprite class objects that are created while Scene_Map is running. Is there any way to make these Sprites mimic the screen tone so that they will fade out automatically with the screen so that I do not have to place my HUD's "hide" code in each and every teleport event? :-/
 
Yeah. Had I been smart enough to realize that I HAVE the Sprite class syntax, I would have found that, but thank you for drawing my attention to it. I figured that's what I had to do, but I was getting an error when trying to set the tone of the sprite once it had been disposed. Thankfully, I found the Sprite documentation along with the disposed? method to solve this problem. =p

Look forward to seeing this system in Dark Eternal 2, at any rate.
 

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