Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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?
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.
Develop games in your browser. Powerful, performant & highly capable.