saving and loading spawned actors
Hey guys. Never posted here before.
I am working on a simple app in which balls drop into a jar. The balls are actors that are spawned each time the player touches a button.
I need to be able to save the number of spawned actors when the app shuts down, and reload that number of actors when the app opens again.
I've tried a few methods for doing this... but I'm stuck. Any suggestions would be MUCH appreciated.
thanks
I am working on a simple app in which balls drop into a jar. The balls are actors that are spawned each time the player touches a button.
I need to be able to save the number of spawned actors when the app shuts down, and reload that number of actors when the app opens again.
I've tried a few methods for doing this... but I'm stuck. Any suggestions would be MUCH appreciated.
thanks
Comments
Here's how to do it:
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User