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.

Showing a Variable Status in the Menu

I don't think this should be too difficult to solve. I'm not asking much, either. I just simply don't know how to script. I'm one of those types that regularly attempts to learn, but it flies over my head.

All I want to do is show the status of two variables in the menu or in the status menu. I don't mind either. If one is easier than the other, then please don't strain yourself on my behalf. I'm just making a basic "Good/Evil" engine. I've already built the variable engine--it wasn't that hard. All I need now is for it to show up on the menu something like this:

Good: 50
Evil: -50

In other words:
Variable 0001: status
Variable 0002: status

It doesn't seem like it would be that hard, but I could easily be wrong.

Edit: Oh, and to further elaborate, I currently only have the base scripts. I haven't touched anything.
 
$game_variables[1].to_s #returns the string value of the variable 1
$game_variables[2].to_s #returns the string value of the variable 2

That's all you need, just add that where you need. 
 

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