display text question

jstrahanjstrahan Member Posts: 498
edited November -1 in Working with GS (Mac)
is it possible to display text and a variable on the same actor like

Score: game.score

Comments

  • BarkBarkCoBarkBarkCo Member Posts: 1,400
    `"score:"..game.score`

    "`..`" is a text concatenate function
  • greglevygreglevy Member, PRO Posts: 85
    Hi barkbark00,

    Could you do me favor and show me a little more detail?

    Thanks
    Greg
  • RHRH Member Posts: 1,079
    Create an actor

    Add behaviour 'Display Text'

    Click the down arrow and type exactly what barkbark00 said.

    "score:"..game.score

    That will show up as Score:--

    (-- being the score value)
  • greglevygreglevy Member, PRO Posts: 85
    Thanks!

    Greg
Sign In or Register to comment.