How can you make a timer display 1.0 instead of just 1. Or 2.0 instead of just 2.

??? Any1 know how???

Comments

  • SocksSocks London, UK.Member Posts: 12,822
    edited July 2014

    Add this onto the end of your text display.

    ..".0"

  • AA app companyAA app company Member Posts: 73

    @socks i have a timer saying ever 0.1 second change attribute game.timer to +0.1. And on my display text I go onto the e and choose the game.timer

  • AA app companyAA app company Member Posts: 73

    *every

  • SocksSocks London, UK.Member Posts: 12,822
    edited July 2014

    @AA app company said:
    socks i have a timer saying ever 0.1 second change attribute game.timer to +0.1. And on my display text I go onto the e and choose the game.timer

    You don't really need to duplicate attributes that already exist, the built in timer is already increasing by 0.1 ever 0.1 seconds, it seems weird to use a timer and an attribute and a rule to duplicate something that already exists.

    At 2.4 seconds into your game . . .

    Your attribute 'timer' will equal 2.4
    Game.time will also equal 2.4

    . . . so I'd dump the timer/rules/attribute and just use game.time.

    Try this: Display Text: prec(game.Time,1)

  • AA app companyAA app company Member Posts: 73

    The normal game.time goes to the third decimal. How can I make that only 1@socks

  • SocksSocks London, UK.Member Posts: 12,822
    edited July 2014

    @AA app company said:
    The normal game.time goes to the third decimal. How can I make that only 1@socks

    :) ;)

  • AA app companyAA app company Member Posts: 73

    I can only find game.time . BTW I have windows if that makes a difference @socks (sorry to be a bit of a waste of time, I'm knew and don't know very much)

  • SocksSocks London, UK.Member Posts: 12,822

    @AA app company said:
    I can only find game.time.

    That's the one you want.

    @AA app company said:
    BTW I have windows if that makes a difference socks.

    I'm pretty sure Windows supports all the same expressions / attributes as the Mac version.

  • SocksSocks London, UK.Member Posts: 12,822
    edited July 2014

    @AA app company said:

  • AA app companyAA app company Member Posts: 73

    Thanks for you time @socks its working now :smiley:

  • SocksSocks London, UK.Member Posts: 12,822

    @AA app company said:
    Thanks for you time socks its working now :smiley:

    Cool ! :)

Sign In or Register to comment.