How do I make an object chase a smaller object?

Get help using Construct 2

Post » Wed Feb 11, 2015 8:52 pm

For example I have one object/Sprite called "Germ" which I copied and pasted multiple times, with the W x H being different for all of them.

How would I make a germ chase another germ that has a lower width than itself?
B
3
Posts: 2
Reputation: 179

Post » Wed Feb 11, 2015 9:15 pm

just check for the width?
germ.width<germ.width

but for haveing the same object more than once you need to get there UID
https://www.scirra.com/tutorials/361/un ... moke-trail
Read this:
yeah, i really like to say that you should "Read this:"
B
12
S
5
Posts: 138
Reputation: 1,490

Post » Wed Feb 11, 2015 9:37 pm

So, how would I go about using that information to make the bigger object chase the smaller one now?
B
3
Posts: 2
Reputation: 179

Post » Thu Feb 12, 2015 2:43 am

Would pinning one germ to the other work?
B
8
S
1
Posts: 90
Reputation: 644

Post » Thu Feb 12, 2015 7:00 pm

Give this a try?
You do not have the required permissions to view the files attached to this post.
B
11
S
4
Posts: 152
Reputation: 1,236


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests