Collision Problem

For questions about using Classic.

Post » Thu May 31, 2012 10:45 pm

Hi I'm a newbie to Construct just need some help.

here the file

The blue guy is the player and I want him lose health when touching red box. It work fine but I notice that the red box don't harm the player when hit from the right side and under it. I use overlap offset and even set it to 10,10. Still no his at right and bottom side.

I already try collision but it's not work at all.
Posts: 2
Reputation: 254

Post » Fri Jun 01, 2012 4:36 am

I tried the cap file you posted. I managed to get the collisions working for all sides by copying and pasting the original collision event you had and changing offset to (-10,10).

End Result:
2 same events, 1 with (10,10) offset, other with (-10,-10) offset.

You can also duplicate the conditions within the same event line and just evenly divide them in half with the System's OR condition.aznmonkeyboy2012-06-01 04:41:03
Posts: 40
Reputation: 2,261

Post » Fri Jun 01, 2012 8:28 pm

Thanks this fix a lot.
Posts: 2
Reputation: 254

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 10 guests