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 variables in the comment thing

i dont know if im really noobish or something, but how do you show a number stored in a certain variable?

just in case im unclear...

example:

"you have x apples"
x being the number of apples you posses

or

"Variable 1 is X"
X being the amount stored in variable 1
 
Don't forget the other backslash codes.

\n[id] = Name of actor id

\c[(0-7)] = text color change for all text after this, use again to return to normal
colors: 0 = normal white; 1 = blue; 2 = red; 3 = green; 4 = cyan; 5 = purple/pink; 6 = orange/yellow; 7 = gray.
I think I heard somewhere that there's a script that will get you even more colors.

\g = opens money window (lets you see how much money you have while text is displayed in another box)

\\ = \ (just one character)

AlSo, It DoEsN't MaTtEr WhAt LeTtEr CaSe YoU'rE uSiNg.
 

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