How do I "it has been x days since you played"

Just started using Construct 2? Post your questions here

Post » Mon Jan 19, 2015 2:12 am

Hi all,

I been raking the tutorials, but i couldnt find it but how you do you make so that the app can calculate how many since we have played it because I want to make an achievement badge if the player goes certain days playing

Thanks in advance :D
B
6
Posts: 3
Reputation: 261

Post » Mon Jan 19, 2015 2:19 am

Store the date in webstorage upon exiting, then check against the date upon starting? Or use the 3rd party plugin that does it :) Search 'date' in the completed add-ons forum.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Mon Jan 19, 2015 4:45 am

thanks so much!!!! terima kasih :)
B
6
Posts: 3
Reputation: 261

Post » Mon Jan 19, 2015 5:02 am

no worries neighbour
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Mon Jan 26, 2015 9:47 am

pakai plugin time away.
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
63
S
14
G
2
Posts: 291
Reputation: 6,641


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests