What kind of products will you be selling? Will you do any server side validation of receipts? Will you keep track of user inventory on the backend or will all of the bookkeeping be done in the client?
A call to iap.restore() will restore any non-consumable items. The iap listener will be invoked with iap.TRANS_STATE_RESTORED for each product that is restored.
Cool, thanks.
For now all IAP code on client side.
We will have few non-consumable items but for now all items consumable.
I dont want to do server, but I think I should for a progress save and sync.
You should look into PlayFab. It would fit very well with persisted user progress and similar. They also have receipt validation for iOS and Google Play.
Last week we are worked on prepairing to GDC - it is many works with materials and other non game development things.
But we made few interesting things too.
I am finished with performance optimisation. One more achievement is optimize main scene of first world from 160-170 drawcals to 10-12 drawcals. This was made possible by replacing software tint trees to tint and save textures of trees.
We finished with levels of third world and many other small things.
Also we made small playable demo with uniqe 8 levels (final game has other first levels): bring-me-cakes.com (but I canāt edit main post to add this link )
This is the first time that Iām playing Bring me Cakes and I must say that it looks and plays great. You guys have done a fantastic job and Iām sure the finished product will be a really great game.
Tried to test on Safari for iOS, but unfortunately the screen does not scale well. I know itās not officially supported by Defold but it would be great in the future.