Home Tutorials Download Store Forum Documentation Wiki Blog

ShiVa3D

Return to Code Snippets

Demo code

Paste down any little snippets or request a new one.

Demo code

Postby vince_3d » 17 Dec 2011, 18:34

Hi all,

I would like to limit the time play of my game to a week or number of use for a free demo.

Could someone help me on that coding.

Thank you

Vince
vince_3d
Junior Boarder
Junior Boarder
 
Posts: 33
Location: Canada

Re: Demo code

Postby kalango » 17 Dec 2011, 18:54

You could register an Enviroment Variable to a server or into a file and then read it from there. While the game is running you must increment the variable value and save it after each seccond or minute passed (so the user cant cheat finishing the game proccess or something).
User avatar
kalango
Gold Boarder
Gold Boarder
 
Posts: 200
Location: Nova Scotia - Canada

Re: Demo code

Postby vince_3d » 30 Dec 2011, 02:07

Thaks for your help, but unfortunately I'm not coder.
I will need more concrete stuff.

Hope you guys can help!! :?
vince_3d
Junior Boarder
Junior Boarder
 
Posts: 33
Location: Canada

Re: Demo code

Postby vince_3d » 04 Jan 2012, 00:36

No one can help? :oops:
vince_3d
Junior Boarder
Junior Boarder
 
Posts: 33
Location: Canada

Re: Demo code

Postby dtr1au » 04 Jan 2012, 00:41

You really need a coder to implement this for you.
Can be done easily, but it needs some scripting knowledge to do it.

How kalango has said is in my opinion a good solid way to do a play-time based demo.

The scripting language is very easy, and you don't need to be a full blown programmer to understand it. If you have the time i'd spend a week or two learning.
dtr1au
Platinum Boarder
Platinum Boarder
 
Posts: 355
Location: ACT, Australia

Re: Demo code

Postby TRANE23 » 05 Jan 2012, 08:47

@vince_3d
Check your PM
TRANE23
Senior Boarder
Senior Boarder
 
Posts: 54
Location: France

Re: Demo code

Postby vince_3d » 11 Jan 2012, 18:51

@TRANE23
MP answered!
Thanks
vince_3d
Junior Boarder
Junior Boarder
 
Posts: 33
Location: Canada

Re: Demo code

Postby dbladez » 11 Jan 2012, 20:05

From my understanding for iOS this is not allowed and would cause the app to be rejected, although I've only read this and never actually attempted it myself.
User avatar
dbladez
Platinum Boarder
Platinum Boarder
 
Posts: 547
Location: Ontario, Canada


Return to Code Snippets