How do I transfer data through different dreams?
Is there a way for me to transfer player data between multiple dreams? For example, something like experience points, or making a skill tree that will give someone a perk to do extra damage to a boss, that would be loaded in a different dream.
-
Yeah! the Variable and Variable Modifier gadgets.
https://indreams.me/guide/palette-glossary/assembly/components/logic-and-processing/variable -
The way I got it to work is have a variable in each scene with the same name, set to 0, and with 'persist in dream' checked. Then use variable modifiers to update it.
For me at least I wanted to track lives across levels so coudln't set it to 3 in all scenes because it reset each scene. So it is set to 0, then in my first scene I set it to 3 and that then carries across the value - and I just subtract 1 each time the player dies
請登入寫評論。