Place sprites based on another sprite?

  • Hello,

    I want to create a chain using sprites, but instead of just having one single chain length, I would like to have the app create a chain by positioning sprites one after another (Vertically) making a chain look. How would I do this?

    To add on, I would need to have multiple chains. For instance, on the left there would be a chain, and then on the right there would be another chain (which could be longer or shorter).

    How would one accomplish this? The chain does NOT need to move. This is simple aligning sprites up vertically.

    Thanks in advanced.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Perhaps you can use an Array of Sprites positions. And fill this variables value's with the places where you want to position the sprites. Could be a good idea?

  • Ah, very possible. Instead of using Sprites, I might just go ahead and use a GVar to set the Y position (Since I know the sprite height) and then just set the next sprites Y cord to that. Thank you very much for the idea!

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