Game Template 11 - Reward System (Game Templates)

Discuss Scirra's 2D Asset Store

Post » Wed May 11, 2016 9:46 am



Game Template 11 - Reward System — Now for sale in the Scirra Store!
https://www.scirra.com/store/royalty-free-game-templates/game-template-11-reward-system-2352

Description

Reward your player for daily visits! This template allows you to give away free coins for daily visits.

The player can claim his price by clicking the "Gift" button. Once he or she has claimed his or her price, it will show the remaining time when the next price will be unlocked.

Platforms

Works on

  • CocoonIO
  • Cordova (Intel XDK)
  • Desktop

Plugins

The asset basically uses the "TimeAwayL" plugin by Rex. You find a link to the download page included in the package.

Additionally the game uses platform specfic plugins

1) Cocoon Plugins (all included and available for free)

2) Cordova Dialog (premium plugin made by Cranberrygame)

Construct2 Cordova Plugins

Those plugins are needed in order to open the Construct 2 Project files!

License

You can read the full license here: https://www.scirra.com/store/licensing#license6



Use this topic to leave comments, ask questions and talk about Game Template 11 - Reward System
Image Image iTunes: Match3 | Google Play: Match3
B
94
S
33
G
30
Posts: 1,098
Reputation: 27,643

Post » Fri May 20, 2016 1:46 pm

Changing the phone hour is possible to circumvent the recomepensas system?
Image
B
29
S
11
G
21
Posts: 72
Reputation: 15,768

Post » Fri May 20, 2016 1:50 pm

I tested it and yes, it is possible to circumvent the system by changing the time of the PC or the phone.
How can I fix this problem?
If the problem is resolved I will buy.
Image
B
29
S
11
G
21
Posts: 72
Reputation: 15,768

Post » Fri May 20, 2016 2:36 pm

tutbarao wrote:I tested it and yes, it is possible to circumvent the system by changing the time of the PC or the phone.
How can I fix this problem?
If the problem is resolved I will buy.


Yes I'm aware of this. This only can be avoided if you sync the reward with an external time server.
This template uses @rexrainbow TimeAwayL plugin. This plugin saves a time stamp in the localstorage.
And my template is comparing that time stamp with the current device time.
Therefor if you change the time on the device, you can manipulate the reward system.

At the moment the only way I see to fix that, is to not compare the time with the device time, but with an external server time.
But for this an internet connection is mandatory.

Regards
Andy
Image Image iTunes: Match3 | Google Play: Match3
B
94
S
33
G
30
Posts: 1,098
Reputation: 27,643

Post » Fri May 20, 2016 3:43 pm

Here is a solution of reading and saving timestamp on network (firebase service).
It will be a totally different system and more complex. User could save more data on the server, BTW.
B
108
S
26
G
258
Posts: 4,430
Reputation: 145,179

Post » Fri May 20, 2016 4:44 pm

rexrainbow wrote:Here is a solution of reading and saving timestamp on network (firebase service).
It will be a totally different system and more complex. User could save more data on the server, BTW.


That's awesome. I'll check that :)

Thank you!
Image Image iTunes: Match3 | Google Play: Match3
B
94
S
33
G
30
Posts: 1,098
Reputation: 27,643

Post » Fri May 20, 2016 5:03 pm

You could change?
If you change'll buy.
Image
B
29
S
11
G
21
Posts: 72
Reputation: 15,768

Post » Fri May 20, 2016 5:26 pm

@AndreasR
@tutbarao

It is better to have 2 versions of template, one is for local timer only - easy to use.
The other is using network service - user need to have a google account first, then add a login UI for authentication before using the server timer.

Firebase service is bought by google, it is a robust service, imo.
B
108
S
26
G
258
Posts: 4,430
Reputation: 145,179

Post » Sat May 21, 2016 2:08 am

You could change?
If you change'll buy.
Image
B
29
S
11
G
21
Posts: 72
Reputation: 15,768

Post » Sat May 21, 2016 9:39 am

tutbarao wrote:You could change?
If you change'll buy.


I see what I can do, I downloaded the plugin linked by rex.

I'll let you know when an update is ready.

Regards
Andy
Image Image iTunes: Match3 | Google Play: Match3
B
94
S
33
G
30
Posts: 1,098
Reputation: 27,643

Next

Return to Scirra Store

Who is online

Users browsing this forum: pkerry and 2 guests