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
55
S
28
G
18
Posts: 1,520
Reputation: 25,285

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
373
S
218
G
84
Posts: 23,440
Reputation: 186,070


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests