Life Counter That Transfers Scenes

Hi -

My students are creating games inside of CoSpaces (and doing an awesome job!). We have a life counter that works and decreases based on collisions, but is there a way to have that life counter transfer to the next scene? So if they lost a life in scene 1 then they would be down to 2 in scene 2?

Thanks!

Hi @Kasey_Smith,

I think you’ll be interested in this example that shows how data, such as the life counter you mentioned, can be carried over between scenes in a CoSpace :slight_smile:

Feel free to remix the CoSpace, take a look at the CoBlocks code inside, and let me know if there are any other questions.

Hope this helps!

@Stefan ,

This is exactly what I was looking for. Thank you so much!