Claim gift every 3 hours
nir3112
Member, PRO Posts: 312
Hi
In my app I want to give the player gift of something every 3 hours.
I know that I can use the real clock of the iphone.so I did it I create 2 actors
1. Real clock (iphone clock)
2. saved clock
So if real clock-saved clock=>3 give the gift.
But it's not working all the time
I need better way if someone have some way to do this it will be appreciated!
In my app I want to give the player gift of something every 3 hours.
I know that I can use the real clock of the iphone.so I did it I create 2 actors
1. Real clock (iphone clock)
2. saved clock
So if real clock-saved clock=>3 give the gift.
But it's not working all the time
I need better way if someone have some way to do this it will be appreciated!
Comments
just wait
just change the number from 60 to 10800
i think thats help you
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I hope that I will understand how to do it my self...
BTW when I close the app and open it after 5 hours it will calculate the hours and give me gift?
it will give a gift after 3 hours of play time
if you want after 3 hours even if you close the game
see @tatiang demo
sorry for my english
quick replay