I have 3 enemies in layout A with respective instance variables. How do I store or remember the 3 enemies location and it's instance variables after I returned to layout A from layout B.
Develop games in your browser. Powerful, performant & highly capable.
Try adding the Persist behavior.