Instance position relative to another object instance

For questions about using Classic.

Post » Tue Mar 18, 2014 9:28 pm

I created a layout that spaws SpriteA instances and an equal number of SpritesB instances, when it starts. Is there a way to aways set the position of each B to their respective A?

Thanks for helping and sorry bad english :oops:
B
1
G
2
Posts: 5
Reputation: 635

Post » Wed Mar 19, 2014 1:15 am

Put both sprites into a container and in a System Always event , make an action for one of the sprites to set position to an object (the other sprite )
What I know would fill a Book , what I don't know would fill a Library
B
37
S
12
G
29
Posts: 331
Reputation: 16,499

Post » Wed Mar 19, 2014 2:30 am

granpa wrote:Put both sprites into a container and in a System Always event , make an action for one of the sprites to set position to an object (the other sprite )

Wow, thank you sir. Works like a charm :D

Here are a sneak peak of what i'm working...
Image
B
1
G
2
Posts: 5
Reputation: 635

Post » Wed Mar 19, 2014 2:53 am

Your welcome , glad I could help.
What I know would fill a Book , what I don't know would fill a Library
B
37
S
12
G
29
Posts: 331
Reputation: 16,499


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests