Need advice on how to handle collisions

Get help using Construct 2

Post » Mon Dec 24, 2012 3:12 am

hello

I have a simple scene, sort of sidescroller platformer tower defense situation, but player can't jump.
Basically move/melee attack.

and enemies just move in one direction and attack player if they are near him (melee)
I think I can use platform behavior on both enemies and players, thing Is I don't want enemies or player to run through each other.

one solution I could think of is making both of them Solid. but that gives me little problem with Towers which I don't want to block player.

Another solution would be overlap at offset, but It does not update in time and player or enemy often overlap each other at random length. (deceleration happening?)

I was wondering if anyone could give me better advice on what approach to try?

thanks
B
24
S
7
G
3
Posts: 138
Reputation: 2,795

Post » Mon Dec 24, 2012 2:09 pm

Do the towers need to be solid?
If not then the player won't get stuck on a tower when setting player and enemies to solids
B
13
S
2
Posts: 87
Reputation: 1,244

Post » Mon Dec 24, 2012 2:52 pm

they need against enemies
B
24
S
7
G
3
Posts: 138
Reputation: 2,795

Post » Mon Dec 24, 2012 4:21 pm

Hi there!
Hmm.. something like this?
B
17
S
5
G
1
Posts: 74
Reputation: 2,627

Post » Tue Dec 25, 2012 7:00 pm

oh, thanks good fix.
I'll try to integrate in my prototype
B
24
S
7
G
3
Posts: 138
Reputation: 2,795


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 21 guests