Monday, June 20, 2022
HomeGame Developmentandroid - The best way to maintain monitor of in-app purchases cross...

android – The best way to maintain monitor of in-app purchases cross platform


I’m a newb cellular sport developer. I’d actually admire it when you may assist me out with the next drawback.

I’m making a cellular sport with sections {that a} participant is supposed to undergo so as and procure varied gadgets that would assist them progress in later sections, in addition to unlocking the next sections as soon as the present part is full. Sections present a range in problem and kind. Gadgets a participant procured in earlier sections may make development simpler. Nevertheless, there’s at all times an affordable path to completion even with out this stuff. I am additionally not forcing cut-off dates between sections or restricted makes an attempt on the participant.

I’ve opted for utilizing Unity sport engine and I’ve discovered it additionally supplies integration with app shops for iOS and Android which is ideal for me. Nevertheless I additionally perceive it might be clunky so as to add particular person gadgets below in-app purchases (aside from maybe a full sections unlock) so in-game forex is an efficient different. However, so far as I perceive the in-game forex just isn’t one thing an App Retailer will maintain monitor of, due to this fact I would like a approach of preserving monitor of how a lot forex a consumer has and what they’ve bought. This also needs to make it attainable to sync progress and balances between units.

Sadly I couldn’t discover something past easy tutorials on create an in-game retailer web page or a dialogue on what in-game forex is and why it is helpful.

With that, my ideas/query are:

  1. Any in-game forex values and property {that a} participant has unlocked needs to be saved on some kind of backend (i.e., a Net server backed by a DB), or is there one other approach?

  2. A singular participant identifier is required to have the ability to synchronise and/or restore. Since consumables, corresponding to in-game forex are usually not stored monitor of by the shop this ID can also be used for lookup to the backend.

2.1 Is there, maybe one other method to recognise when a consumer performs from totally different units, assuming they’d desire to be recognised as the identical consumer?

  1. Cell units present a singular identifier (I feel), however its use is restricted to that particular machine. An account-wide ID may very well be helpful if a participant indicators in with google/apple/Fb and so forth?

  2. All property are saved on machine itself, however there’s in-game logic to restrict entry till sure situation is met?

  3. Is it attainable for a sport to obtain property (i.e. upon buy) and is it good follow to take action? What I imply is: I am engaged on a method to signify a sport part as a JSON file, so that each part may be described with out having to manually create a scene. A JSON file can be loaded and a scene constructed by the sport primarily based on that file. In order that I may probably add extra scenes later with out having to push updates via the app retailer.

I feel understanding the above ought to give me sufficient to go on. I’d drastically admire solutions to the above in addition to hyperlinks to related data!

Thanks for studying!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments