axmolengine / axmol

Axmol Engine – A Multi-platform Engine for Desktop, XBOX (UWP) and Mobile games. (A fork of Cocos2d-x-4.0)
https://axmol.dev
MIT License
922 stars 205 forks source link

WASM: 'class UserDefault' should 'save' also on web versions of my app. #2229

Open aismann opened 2 weeks ago

aismann commented 2 weeks ago

WASM: class UserDefault should 'save' also on web versions of my app

@all Maybe there is an easy way anywhere?

paulocoutinhox commented 1 week ago

Hi,

You use use my impl: https://github.com/paulocoutinhox/axmol-native-helper

And to save locally the UserDefault im using it: https://github.com/nativium/nativium-modules/tree/main/custom/modules/shared-data/implementation/cpp/nativium/data

Maybe help you.