Displaying Time

qewrqewr Member Posts: 54
edited November -1 in Working with GS (Mac)
I've tried tsb's tutorial on displaying time at least five times it never works, all it gives me is 'invalid equation.. every time -.- dont get me wrong those are some crazy skills but does anyone actually know how to display time?? driving me mental..

Comments

  • old_kipperold_kipper Member Posts: 1,420
    create an actor. set its colour alpha to zero, add a display text behaviour, press the 'e' tag to bring up expressions editor panel, go> game>time then press the tick. set the colour, font and size of text you want, and place the actor in the scene. Make sure its not under another object.

    hope that helps

    kipper
  • giacomopoppigiacomopoppi Member, PRO Posts: 914
    @qewr what time are you trying to display? the time of an actor, current time (which is impossible to display in GS), or a custom time using timers?
  • qewrqewr Member Posts: 54
    Just an integer that goes up by 1 every second u know, its crazy complicated you have to floor it like nine times lol
  • giacomopoppigiacomopoppi Member, PRO Posts: 914
    Doesnt a simple display text behaviour do the job?

    create an actor, set alpha to 0
    add Display text behaviour - open the expression editor (press the small e on the right) - find your attribute under the Game section.

    Giacomo
Sign In or Register to comment.