Creating objects with properties from information in an array?

0 favourites
  • 2 posts
From the Asset Store
Fully commented source code/event sheet & sprites to create a space shooter game
  • I think construct 3 is incredible, but I have problems understanding how to dynamically create objects and still organize them on the screen.

    as I didn’t find anything so accurate, I would like to help everyone create an example of it in my eyes it should be a tutorial by the developer "How to create dynamic objects in the best way"

    for that I made the layout and tried something, but it is still not working. here the first image represents the entry of information such as name, duration, time and an image that would later fill the object with information when the layout is started

    for each line in the matrix the code would create the white object with the texts in its container with the information contained in the columns such as name, duration and image, all properly arranged in this case in a scroll bar

    this is what i managed to do until eating any help is welcome, in the meantime i will keep trying

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I don't see anywhere in the code where you load the contents of the array in the array object type. You can do that using the ajax plugin.

    Maybe you can check some video's on my youtube channel. A lot of them use arrays and dynamic content creation.

    youtube.com/channel/UCZ6QjvqEs9dR2miRnfFqIpQ

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)