hello, what's best way to integrate combushop in to combudemo or how to do it, thanks.
ps: in shop scene coins doesn't get less when pressing any item button just quantity adds ,
another thing in mysql cb_account table "LastLoginIp" and "LastLoginDate" rows always NULL.
hello, what's best way to integrate combushop in to combudemo or how to do it, thanks.
ps: in shop scene coins doesn't get less when pressing any item button just quantity adds
You should export the canvas "Menu" from shop demo to the other scene (give it a different name because there's already a "Menu" canvas there), then add a new button in the combudemo canvas under "Menu" like the other "Button*" there and create the functions to load inventory and handle purchasing like in CombuDemoShop script. About the coins, if you take a look at the demo script there's no code to decrease the coins but it's just an example and not a full working shop (anyway of course it should decrease the coins inside the function BuyItem and precisely inside the callback passed to newItem.Update at line 160).
another thing in mysql cb_account table "LastLoginIp" and "LastLoginDate" rows always NULL.
These fields in CB_Account are no more used, they have been moved to CB_Session since now you can have more than one valid session (so your players can play from both iOS and Android at the same time, for example).
FRANCESCO CROCETTI @ SKARED CREATIONS
Ok Thanks