Place sprites based on another sprite?

Get help using Construct 2

Post » Sat Feb 22, 2014 4:09 pm

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.
B
1
Posts: 2
Reputation: 129

Post » Sat Feb 22, 2014 4:22 pm

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?
B
17
S
4
G
1
Posts: 105
Reputation: 1,874

Post » Sat Feb 22, 2014 4:47 pm

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!
B
1
Posts: 2
Reputation: 129


Return to How do I....?

Who is online

Users browsing this forum: troxx, TwistedSaviour and 1 guest