Platform behavior and collisions

Get help using Construct 2

Post » Thu Jan 31, 2013 1:10 am

Hi guys

I am mulling over something.

The game is a platformer and I am using the platform behavior to control my enemies.
Basically the enemy is on a platform on the top of the layout, walks and then falls from the platform and lands on the ground. All fine.

However if my player is where the enemy is going to land, the enemy collides with the player (as in lands and walks on the players head).

Is there a way to switch off the collision just with the player?

I want to be able to:
let the enemy land on the platform (not on the player's head) to then kill the player (using "is overlaping" & "is on floor")

Cheers for any helpknudle2013-01-31 01:12:32
B
13
S
4
G
2
Posts: 20
Reputation: 2,517

Post » Thu Jan 31, 2013 4:45 pm

Did you give the player the jump through or solid behaviors? The player does not need either to jump around on platforms, they're designed mainly for the platforms. The player only really needs the platform behavior and two objects with just the platform behavior will overlap just fine.
B
6
S
1
Posts: 40
Reputation: 917

Post » Thu Jan 31, 2013 5:10 pm

That was exactly my mistake.

The player had the jump through behavior.
I guess it is a noob mistake

Thank youuuuuu Phyvo
B
13
S
4
G
2
Posts: 20
Reputation: 2,517


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests