How do I make a shop that buys skins for the player?

Get help using Construct 2

Post » Sun Oct 23, 2016 12:27 am

How do I make a shop that buys skins and saves for the player? And they can be selected and used anytime?
B
25
S
6
G
4
Posts: 173
Reputation: 3,933

Post » Sun Oct 23, 2016 12:30 am

In the general sense, you use the IAP object : https://www.scirra.com/manual/173/iap
B
46
S
16
G
74
Posts: 2,088
Reputation: 44,185

Post » Sun Oct 23, 2016 11:31 am

@plinkie I mean with in-game money
B
25
S
6
G
4
Posts: 173
Reputation: 3,933

Post » Sun Oct 23, 2016 12:53 pm

You would use a global variable for cash I guess. When you want to buy an item it subtracts the amount from the global variable. In terms of unlocks you could look into using arrays to set whether items are owned.
B
46
S
16
G
74
Posts: 2,088
Reputation: 44,185

Post » Mon Oct 24, 2016 2:03 am

global variables + local storage :)
B
79
S
31
G
7
Posts: 148
Reputation: 9,179


Return to How do I....?

Who is online

Users browsing this forum: charliesan763, JaredX and 10 guests