- Home /
How to make a subscription based game?,How to make a subscription based game
im currently working on a vr game. Its like a escape room so you got to solve puzzles. But back to my question. I want to sell the game as a subscription based game, so you buy ticket to play it. Once you press play in the game you will activate 1 ticket and so on. Can someone explain to me how to build it? Or send me a video link if its already been explained?
Thanks for helping!,im currently busy with making a VR puzzle game like a escape room. And i want it to sell it like a subscription based game. You buy tickets to play the game. Once you press play it activates 1 ticket and so on. Does someone know how to make this? So yeah? Can you help me?
Answer by eirikamb · Jul 09, 2020 at 04:40 PM
My guess would be to store a PlayerPrefs variable with amount of tickets. Then you would have IAP that would increase the amount of tickets. PlayerPrefs.SetInt("tickets",10); would set ticket amount to 10. That is my suggestion, but I dont know how well encrypted PlayerPrefs variables are, so it might be possible to hack and give yourself tickets, but I think most players wouldnt do that/bother doing that. Another option would be to save all users on a server database with amount of tickets but that would be noteably more advanced and require internet access every time you want to use a ticket.