★ TouchArcade needs your help. Click here to support us on Patreon.

TImer

06-10-2013, 05:50 AM
#1
TImer

How the heck do you get a salt time programmed like using in the old board games?

Can any of you genius people help?
06-11-2013, 05:12 AM
#2
Joined: Aug 2012
Location: Dortmund, Germany
Posts: 19
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.

CoFounder of Knalleridee
Twitter: @chris_devel
www.knalleridee.com
06-12-2013, 06:22 AM
#3
salt

Quote:
Originally Posted by iChris View Post
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.
No No the old board game salt timers
06-12-2013, 07:00 PM
#4
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.
06-12-2013, 10:43 PM
#5
Pretty sure he's talking about those hourglass-like timers that came with 'pictionary' and the ilk.

I'd say - animate it!

Looking for a writer? PM me

Game Designer of:
Family Feud 2 My First Huge Apple Feature!
Pickpawcket
And a bunch of other games you've never heard of!
06-12-2013, 11:59 PM
#6
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.