8x8 on 8x8 Sprite Collision Detection

Get help using Construct 2

Post » Fri Nov 27, 2015 10:42 am

hey,

been inactive for some time and thought id like to start a new little game.
So i started with 8x8 sprites with default collision masks.
my player is a 8x8 black block . The ground blocks are 8x8 too.

i have this = Image


but on blocks in corners it wont work. the block cant detect the collision.

Image
any fix ?
B
27
S
7
G
3
Posts: 299
Reputation: 4,551

Post » Fri Nov 27, 2015 10:51 am

I'm not really sure what you mean by "blocks in corners"

The only reason an "on collision" event doesn't fire is if there is no collision..
You might want to try "is overlapping at offset" or add a one pixel detection sprite around you object and check "is overlapping"..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Nov 27, 2015 11:06 am

fixed it by pinning markers / detector sprites .
Image
B
27
S
7
G
3
Posts: 299
Reputation: 4,551


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go and 7 guests