Hello,
I have 5 layouts (each a different level) When the player collects a dimond on the first level it updates. However when the player completes the level and gos to the second ayout, the diamonds reset to 0?
Unable to find out why, played around with save states, but to no avail. Any ideas?
Thanks
You must be resetting global variables or setting it to 0 on start of layout.
None of them. The global variable is set to 0. But I have not but the gv in any events apart from the ones above.
Cheers plinkie
Develop games in your browser. Powerful, performant & highly capable.
Do you only set TextGem text to Score in the event where you collect gems?
Set it on start of layout as well, otherwise it will just show the default value until you collect the next gem.
Ahh yes. Thank you. I don't think I done this!
Ta bud