TImer

Discussion in 'Public Game Developers Forum' started by squidgyjelly, Jun 10, 2013.

  1. squidgyjelly

    squidgyjelly Active Member

    Apr 1, 2013
    40
    0
    0
    kitchen
    How the heck do you get a salt time programmed like using in the old board games?

    Can any of you genius people help?
     
  2. iChris

    iChris Member

    Aug 20, 2012
    21
    0
    1
    Software Developer
    Dortmund, Germany
    do you mean a timer that fires an action ?
    That could be done with NSTime in Objective C.
    Maybe you could give us a more precise description how it needs to work.
     
  3. squidgyjelly

    squidgyjelly Active Member

    Apr 1, 2013
    40
    0
    0
    kitchen
    salt

    No No the old board game salt timers
     
  4. CrystalFortress

    CrystalFortress Well-Known Member

    Apr 21, 2013
    50
    0
    0
    We obviously have no idea what that is, provide a better explanation of precisely what feature from this board game you'd like to implement and perhaps we can help.
     
  5. Blackharon

    Blackharon Well-Known Member

    Mar 15, 2010
    978
    0
    16
    Game Designer for Ludia
    Canada
    Pretty sure he's talking about those hourglass-like timers that came with 'pictionary' and the ilk.

    I'd say - animate it!
     
  6. Silvanis

    Silvanis Well-Known Member

    Nov 2, 2012
    131
    0
    0
    co-owner of Silver Moonfire
    I see two options: you can have the sand/salt fall in "chunks" ever few seconds with hand drawn frames, or you could make each grain = 1 second in time and have them fall in a set pattern.

    Assuming a 60 sec timer; you could either have 12 frames of animation that increment a frame every 5 seconds, or you could have 60 circles inside the hourglass, and one moves at a time from top to bottom.
     

Share This Page