Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
This is supposed to be simple- but I preview in debug and the array is not populated with anything after it runs...
Am I missing something?
Develop games in your browser. Powerful, performant & highly capable.
Can you show the contents of PetalsData.json ?
Sure, there doesn't seem to be anything wrong here- you can't see it all but it goes up to 20 cells, and it is the same size as my Array
This is odd, I don't see any mistakes in your screenshots, the code should work.
Does the text "LOADED JSON" appear? Check that your array is set as global.
If nothing helps, please post your project file.