@Tshirtbooth time tutorial Problem....

ShinplasterShinplaster Member Posts: 45
edited March 2012 in Working with GS (Mac)
Hey, I just finished watching this video by @Tshirtbooth



No matter what code i use from the video or from the people in the comments it seems that its not working, I just get a Invalid Text screen. Please help as in I will probably not start my game as it should be based on time.

This is exactly what I have in for the Display Text....

floor(floor(( game.Timer %3600)/6­0)/10)..floor((floor( game.Timer %3600)/60)%10)..":"..floor(( game.Timer %60)/10)..floor( game.Timer %10)..":"..(floor( game.Timer *­10(%10)..floor(floor( game.Timer *100)%10)

Here are some photos to help with the problem.

http://gyazo.com/2870a61094094049b468dd6e9dc3b269
http://gyazo.com/38bcec560b35a94b47b0c4d8f78fb6d5

Note Game.Timer is Real Attribute....

If you need anymore information or have a solution please comment below

Comments

  • CloudsClouds Member Posts: 1,599
    Your brackets are wrong.

    Check them.
  • UnicornInvasionUnicornInvasion Member Posts: 301
    The fourth bit the brackets are wrong!
  • ShinplasterShinplaster Member Posts: 45
    edited March 2012
    @unicorninvasion would you be able to copy and paste the correct? I'm not quite sure whats wrong sorry
  • UnicornInvasionUnicornInvasion Member Posts: 301
    After the fifth game.Timer
  • ShinplasterShinplaster Member Posts: 45
    @unicorninvasion @tshirtbooth thanks simple bracket probs :)
  • UnicornInvasionUnicornInvasion Member Posts: 301
    floor(floor(( game.Timer %3600)/6­0)/10)..floor((floor( game.Timer %3600)/60)%10)..":"..floor(( game.Timer %60)/10)..floor( game.Timer %10)..":"..(floor( game.Timer *­10(%10)..floor(floor( game.Timer *100)%10)
    ^because it needs to match before that you have (floor(game.Timer *10(%10)))

    Right or wrong? doesn't both sides of the brackets need to match1
Sign In or Register to comment.