Object variable or property

Hello guys!

How do you store/save object’s variables such as life, energy… all sort of each object’s status?

I don’t think using globals is a good idea…

Thanks!

I am partial, but my free plugin would allow you to manage temporary or persistent data.

GBC Data Cabinet

For storing in the memory-Device : https://docs.coronalabs.com/tutorial/data/jsonSaveLoad/index.html

Yvan.

I am partial, but my free plugin would allow you to manage temporary or persistent data.

GBC Data Cabinet

For storing in the memory-Device : https://docs.coronalabs.com/tutorial/data/jsonSaveLoad/index.html

Yvan.