Give Coins in Update
william24
Member, PRO Posts: 143
I may have made my opening levels in BONDLE a little too challenging. I was thinking about building an update that would give the user an additional 100 coins to what they already have and have this occur once upon installing the update. What would be the best way to go about this?
Any help appreciated. Thanks!
Any help appreciated. Thanks!
Comments
You can have an actor called spawner and an attribute called opened that the spawner changes to true if opened is false and it also spawns the actor that gives the player 100 coins. Then saves opened as true. Put in your loader (or if you dont have one make one) and have it load opened at the start of the app.
Its a little complicated but I think you can do it.
hope that helps
zweg25
Glad to see your doing this cause i spent all my coins trying to figure out how HOP and NEW equals CAR. But that a side.
If you want only the people who have downloaded the game before your update to receive the free coins then you need to find an attribute that is already activated. Such as game.Tutorial displayed equals true. That way you can just throw in a rule that says, if tutorial is shown (means they have already played the game) and free coins is false (havent given away free coins) and timing is true (its at start of game and this is a one time thing, so after you give coins change this and save it as false, otherwise once someone who just downloaded the game and has played the tutorial will also get free coins.) then give free coins.
Anyway I wouldn't know how you have set up rules ect but you could just give everyone extra free coins regardless of whether or not it was downloaded before update.
Keep on developing