winphone_license_trial_version

Return the state of the Trial Play for your Windows Phone game.

Syntax:

winphone_license_trial_version();


Returns: Boolean


Description

This function will return true if your game is currently in Trial Play, or false if it is not. You can use this function to block features or limit game-play while your game is on trial by the user.


Example:

if winphone_license_trial_version()
   {
   global.Level_Max = 20;
   }
else
   {
   global.Level_max = 100;
   }

The above code will check the status of your game and if it is on trial Play it will set the global variable "level_Max" to 20, otherwise it will be set to 100.


Back: Windows 8
Next: winphone_tile_title
© Copyright YoYo Games Ltd. 2015 All Rights Reserved