playMaker

Author Topic: GUI Text Int and Slash character  (Read 1654 times)

Alatriste

  • Full Member
  • ***
  • Posts: 194
GUI Text Int and Slash character
« on: October 06, 2015, 01:56:13 PM »
Hi all, this is probably a simple question but I'm having some troubles figuring out how to do it in the easiest way. Basically I just need to display a text with two variables and the slash in the middle, for a simple counter. So I would have something like this: "Score: 1 / 10".

As you can guess, those variables get updated along the game.

Also a question: Is there a documentation where I can refer to about GUI styles? I always get the same boring format for my experiments and I wonder how to use better UI styles.

Thanks!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: GUI Text Int and Slash character
« Reply #1 on: October 06, 2015, 02:26:51 PM »
Hi,

you can use the action "Build String" for this.

and Convert Int to string for your variables

Alatriste

  • Full Member
  • ***
  • Posts: 194
Re: GUI Text Int and Slash character
« Reply #2 on: October 06, 2015, 05:02:39 PM »
Thanks! I will try it!  :)