Saving progress like Citeldal
Hi Creators!
Citedal in horizon worlds here saves user progress. It will know how many levels I have completed. How are they doing that? Is it with persistent data? Or are there other ways to save level progression?
If it is persistent data, where can I find documentation on how to make persistent data in desktop editor with typescript?
I know how to create persistent variables with codeblocks but not in the desktop editor https://developers.meta.com/horizon-worlds/learn/documentation/vr-creation/scripting/use-persistent-variables/
Citedal: https://horizon.meta.com/world/279976781332952/?locale=en_US
Thanks!
100% with persistent data. Here's the TypeScript documentation:
TypeScript also unlocks the possibility of using objects as persistent variables, allowing you to package information instead of storing it one by one, and to save other type of data beyond numbers. Here's the documentation:
Last, highly recommended to check the documentation around persistence in this document as well: