#1  
Old 06-10-2013, 05:50 AM
squidgyjelly squidgyjelly is offline
Member
iPhone 5, iOS 6.x
 
Join Date: Apr 2013
Posts: 40
Default 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?
Reply With Quote
  #2  
Old 06-11-2013, 05:12 AM
iChris iChris is offline
Junior Member
iPhone 4S, iOS 5.x
 
Join Date: Aug 2012
Location: Dortmund, Germany
Posts: 16
Default

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.
Reply With Quote
  #3  
Old 06-12-2013, 06:22 AM
squidgyjelly squidgyjelly is offline
Member
iPhone 5, iOS 6.x
 
Join Date: Apr 2013
Posts: 40
Default 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
Reply With Quote
  #4  
Old 06-12-2013, 07:00 PM
CrystalFortress CrystalFortress is offline
Member
iPhone 4, iOS 6.x
 
Join Date: Apr 2013
Posts: 50
Default

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.
Reply With Quote
  #5  
Old 06-12-2013, 10:43 PM
Blackharon's Avatar
Blackharon Blackharon is offline
Developer
iPad (4th Gen), iOS 7.x
 
Join Date: Mar 2010
Location: Canada
Posts: 823
Default

Pretty sure he's talking about those hourglass-like timers that came with 'pictionary' and the ilk.

I'd say - animate it!
Reply With Quote
  #6  
Old 06-12-2013, 11:59 PM
Silvanis's Avatar
Silvanis Silvanis is offline
Senior Member
iPhone 3GS
 
Join Date: Nov 2012
Posts: 130
Default

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.
Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright 2012, TouchArcade.com, LLC.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Copyright 2008 - 2011, TouchArcade.com. Privacy Policy / DMCA Copyright Agent