How do I add collisions by character's face direction

Just started using Construct 2? Post your questions here

Post » Mon Apr 25, 2016 10:35 pm

when my character's face direction look toward to sprite's moving direction, collision will occur and we get the point.
When my character direction is not looking to sprites direction, sprite will just bounce from our character.
B
5
S
2
Posts: 11
Reputation: 439

Post » Tue Apr 26, 2016 3:31 am

I would think the easiest way to do this would be to have an invisible solid sprite at the same position as the player (for sprites to bounce off when you're not looking) and then edit the collision polygon of the player character to only be on the 'facing side'. If that makes sense. No idea how well that would work but that's what I'd try.
Image



Coming soon on Steam!
B
16
S
9
G
3
Posts: 204
Reputation: 3,466

Post » Tue Apr 26, 2016 9:23 pm

mikehive wrote:I would think the easiest way to do this would be to have an invisible solid sprite at the same position as the player (for sprites to bounce off when you're not looking) and then edit the collision polygon of the player character to only be on the 'facing side'. If that makes sense. No idea how well that would work but that's what I'd try.



Thank you !
I tried and it worked. :)
B
5
S
2
Posts: 11
Reputation: 439


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests