Hi Guys,
What I need:
How to store and save color values of multiple instances/copies of an Object using an Array + how to load the data back into Construct with JSON.
What I have so far:
1. I'm having one object that uses a For loop to create multiple instances like in the photo below.
2. When you click on of the instances it changes color to orange.
3. When I save the game I want to store all the color values of each instance/copy into an Array.
4. When I load the game later it remembers which instances/copies has orange color.
Note: I'm able to save and load variable and text values successfully using an array with Download as JSON data, and loading the data using File Chooser, but when it comes to multiple instances/copies of one object I don't know how to make it work.
I'm thinking it will work using a For Each command or Repeat, but have no idea how to go about it.
If anyone could share with me how to do this, I would be very grateful!
Thanks & Regards,
Edgar