Just like what sanscolor said use a Global variable for this.
If you don’t understand it well,
Basically you just create a global variable and access it across to any scenes you have. You update your coins counter every scene and in that way you can get the latest coins counter on next scene.
thank you very much
You are right, but as a beginner, this is the problem … I don’t know anything about these matters, so I try hard to understand that …
For example, this is a small game project. I have been trying for some time to link the scenes to coins, but I always fail in this
Just do this
Create a global variable let’s say coinsCounter set the value to 0.
I assume that you want your coins to be updated every after the level completed, if i’m right.
I have checked your game and you have a counter for coins you collected on the game, you just need to put that counter value to the global variable you created (coinsCounter) if the game is completed, then on scene 2, you just call the global variable (coinsCounter) and that will automatically get the updated value of your coins.
Same idea how you created your current coins counter, just get it’s value and set it to global variable you created and to access it, you need to convert it to string first, like this ToString(GlobalVariable(coinsCounter))
Sorry brother i bothered you
But, I have a request, can you help me to apply the steps to my project and raise it … because in this way I will know what the steps are when I review it … because whenever I try this I fail