Unlock full game - Not being saved - IAP
CORE Game
Member, PRO Posts: 280
Hello,
My title says it all ! :P well I am turning my SlimeRush game to free to play but with limitation and then you can unlock it from IAP, but the problem I am trying now in AD-HOC , It is being unlocked, but next time I open the game it shows that the game is still locked , and I need to restore items, even though I used the load attribute to call (premium) Boolean attribute which was the one being affected by the IAP, and the key to load is the same as the product ID .
is there any thing else I should do ? should I actually save the attribute if the purchase was successful ?
Comments
Yes, you need to save it. Save and load like you normally would.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Hello I had similar problem, than I put save attribute and load attribute. But I have discovered another issue, full version unlocks automatically. Let me describe intelligibly how full version unlocks automatically of how boolean attribute becomes "true" automatically:
If I play game on GS Creator that if I press reload/replay again (during the game) button on GS how I said boolean attribute becomes "true" and the game unlocks. dont tested on device yet
Try putting the save attribute in a timer
After 0.1 sec
Save attribute
That might work
Thank you! but I couldn't resolve
I add "Rule" to load attribute
if iap true=>
load attribute .
But it's not works perfectly.
Whole project works good if I delete load attribute for iap
If you want to load an attribute, make an actor an put it outside the scene. In that actor have the load attribute.
Make sure its on your very first scene.
I'll try to add save attribute in (thank you) scene where it is used if the puarchase was successful .
It didn't require to save it, I actually followed the IAP tutorial in the cookbook and it is working perfectly fine in AD-HOC, I submitted the game on the 6th of April, it still waiting for review, if it goes life I will let you know!