How do I can make a linear spawm?

0 favourites
  • 3 posts
From the Asset Store
Draw the lines and guide the basketball into the ring!
  • Hi Guys.

    Need help. I want to make a system where clicking the button makes a clone of an object that appears below the previous one (as if it were a queue).

    I thought about making an array, but I do not know how to do it properly.

  • on object clicked sprite1 -> system create new object -> sprite1.x, sprite1.y + 30

    This will work, the sprite.y + 30 will spawn the new objext 30 pixels bellow the first one, but then to spawn the third one you will have to click the second one, or you can change the +30 with a variable and each time you click the first sprite add +30 to the variable.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • on object clicked sprite1 -> system create new object -> sprite1.x, sprite1.y + 30

    This will work, the sprite.y + 30 will spawn the new objext 30 pixels bellow the first one, but then to spawn the third one you will have to click the second one, or you can change the +30 with a variable and each time you click the first sprite add +30 to the variable.

    Functionate, thank you.

    Now I just need to configure.

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