ok. this sounds logical and easier than reading from a file
i’ve tried it. but i don’t understand how to get all the single stones out of my property in the BaseLevel.qml. So i have following qml files:
BaseLevel.qml: contains a property with all data loaded from the Level.qml and a Loader (like shown in your post)
Level01.qml: like shown in your post
Stone.qml: implements mouse area, boxCollider, position, size of a stone. these data are saved in the property of the BaseLevel.qml. how can i access them?
i’ve tried to get this information out of the code of Squaby but i couldn’t find what i searched for.. may you help me?