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: 280
Reputation: 13,226

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
57
S
28
G
115
Posts: 1,712
Reputation: 65,172

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
173
S
50
G
194
Posts: 8,566
Reputation: 121,368

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: 280
Reputation: 13,226


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests