Collission Detection

Just started using Construct 2? Post your questions here

Post » Fri Aug 05, 2016 12:07 am

Hey, guys.

Quick question, if any1 has the time.

Is it possible to use a collision mask of an invisible sprite? I mean is this independent of the actual image?

All I really need is a rectangle for detection, so if the mask would not work, maybe bounding box?

I haven't attempted to code this yet, but thinking ahead as it would be useful for something else, so setting up the AI now.
Image
B
43
S
21
G
18
Posts: 282
Reputation: 13,235

Post » Fri Aug 05, 2016 2:28 am

Yes. Actually, invisible helper sprites can be the answer to almost any problem.
Mistakes were made.
B
60
S
30
G
133
Posts: 1,942
Reputation: 74,861

Post » Fri Aug 05, 2016 3:11 am

oosyrag wrote:Yes. Actually, invisible helper sprites can be the answer to almost any problem.


Unless you start talking to them outloud, in public.
Image ImageImage
B
178
S
50
G
206
Posts: 8,686
Reputation: 127,715

Post » Fri Aug 05, 2016 7:13 am

Wow, thanks guys.

That's really funny, but yeah I thought they would be a shortcut to a zillion things.
Image
B
43
S
21
G
18
Posts: 282
Reputation: 13,235


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests