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.

HUD over Map

I've made a beautiful HUD, works and all, loads up fine, but how do I make it run over the top of the map in parralel to the rest of the game? Because at the moment it's just a scene like scene_title or scene_menu and not a HUD.
Please help! Thanks.
 
You have to define it in Scene_Map.
For example you made your HUD

class HUD < Window_Base
...

Now add it to Scene_Map by adding something like

@hud_window = HUD.new

in the main method of Scene_Map.
 

arev

Sponsor

The name is not important. It's all about the construction of the class. If it's a scene you won't be able to run it in the Scene_Map. I'm guessing you 've used some windows and update methods in this HUD scene. If so, then move those windows and updates to Scene_Map class.
 
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime."

It's cliched, but reading your last post made me want to help you sort this out myself rather than having someone hand it to you on a silver platter. If you let me see the code for the HUD, I'd be glad to help you fit it into Scene_Map.
 

Anonymous

Guest

Xilef requested this in the script request section, it was answered by DeM0nFiRe and now has a working hud menu.
 

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