Carry score to next levels
I finally have two levels! And am now trying to figure out how to carry score and lives across from level 1 to level 2.
I have a score gadget but there is no ‘persist in dream’ button. I tried using a score modifier to save a separate variable in level 1, then restore in level 2, but that doesn’t do anything either.
What am I missing - how should I set this up?
Also for lives the tooltip says I need the same variable defined in each level and set up the same. But do I need to not set the initial value? That is resetting to 3 on the next level too
-
Any feedback welcome. I got lives persisting. I think you need to set the same variable in each scene so I set to 0, then in scene 1 I set the actual value using a variable modifier. Seemed to work
Still can’t get score to persist though -
Have you tried using a variable, and no score gadget at all? You only *really* need the score gadget to save the score at the end anyway, right?
So then, in level 1 you just keep modifying a variable name. Then in level 2, you keep modifying the same variable name. Then when you want to save to the scoreboard, turn on a score gadget, set its score, and "save" it. (Can't remember the name of the feature, but you will.)
(FYI, I think I may have accidentally flagged this post with some rogue keyboard input. Apologies for that... ?) -
I could - thats how I got lives working. But I figured score is designed as this global thing. I don't know if it is supposed to auto persist or not. Would be great to get Mm feedback on how to use score
댓글을 남기려면 로그인하세요.