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
2
Posts: 30
Reputation: 1,127

Post » Fri May 11, 2012 11:21 pm

B
55
S
29
G
19
Posts: 1,520
Reputation: 25,650

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
395
S
232
G
88
Posts: 24,367
Reputation: 193,744


Return to How do I....?

Who is online

Users browsing this forum: unxcellent and 7 guests