Pixel Perfect to Bounding Box Collision

Get help using Construct 2

Post » Fri May 11, 2012 10:55 pm

Hi everyone,

i was wondering if there is an easy way to change a sprite's collision detection from pixel perfect to bounding box.I am currently using platform behaviour for enemy AI sprites, so i have to make a "square" sprite as bounding box to prevent pixel perfect collision, and pin an image to it. Is there not an easier way to just "check" a sprite as square? I believe Game Maker has an option like that.

Best regards,
B
6
S
1
Posts: 30
Reputation: 977

Post » Fri May 11, 2012 11:21 pm

B
54
S
28
G
18
Posts: 1,520
Reputation: 25,000

Post » Sat May 12, 2012 2:38 pm

@ramones's suggestion will work, but FYI Construct 2 does not have pixel perfect collisions! It only has polygon collisions.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544


Return to How do I....?

Who is online

Users browsing this forum: jul and 19 guests