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.

Mr Mo's Battle system HUD

By certain areas do you mean certain maps? If so, then just make a Parallel Process event on the map with a Conditional Branch:

If Script=$scene.hud_show, call the script $scene.hud_hide using the event command "Script..." in the 3rd tab of the event commands window
Else: Nothin' :)

If you don't mean certain maps and you mean certain PARTS of the map, then I can't help ya there, sorry
 

Jason

Awesome Bro

Why don't you just make a common event, named (HUD Control), and do something like;

Conditional Branch; if $scene.hud_show
--Call Script: $scene.hud_hide
Else
--Conditional Branch; if $scene.hud_hide
----Call Script: $scene.hud_show
End

I don't have RMXP open at the moment so I can't tell you if it'll work for sure, but it seems logical, let me give you a rundown of what it SHOULD do.

So you make an event somewhere on your map, and inside it, just Call Common Event.

Now what that'll do, if you call the common event while your HUD is showing, it'll hide it, and if you call common event while your HUD is hidden, it'll show it.

Tell me how that works out.
 

Jason

Awesome Bro

MCsephiroth13":1vl77lgk said:
Couldn't you just use $scene=hud_hide when the player transfers to the map?

Yeah, but it's always better to store things like this inside a common event, and when it's called it'll either flick it on or off, so a cool thing you could do, would be to make another common event, and say;

Conditional Branch, if L is pressed (Which is Q on the keyboard)
-- Call Common Event (HUD Control)
End

So you could toggle it on and off by pressing Q.
 
i figured out how to do this, i have 2 common events, one fore the ares i want the hud to be shown in and one for when i don't, i just call the common event when i don't want it to show
 

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