Collision issues

Get help using Construct 2

Post » Mon Jan 07, 2013 4:28 am

I've avoided asking this for a couple days now since I was sure I could find a basic tutorial online somewhere but have come up dry every time.

I was able to figure out how to set the collision polygone for a tree I'm using in my game, however my character still passes through it.

Is there a behavior, or an event that I have to set for the character to collide properly with the tree?

B
4
Posts: 78
Reputation: 606

Post » Mon Jan 07, 2013 6:21 am

Check my example CAPX (2nd last post at the moment)here:
http://www.scirra.com/forum/topic44589_page4.html

Is that what you are getting also?
Havok2013-01-07 06:23:34
B
26
S
7
G
4
Posts: 204
Reputation: 4,783

Post » Mon Jan 07, 2013 6:21 am

If your character uses a behavior like platformer or 8directions, applying a Solid behavior to your obstacle will do the trick.

If you're controlling the movement of your character by yourself through events, you'll have to check for the collision and reposition the character through events too.

If I remember correctly this tutorial treated about collisions (amongst many other things).
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
279
S
104
G
86
Posts: 7,313
Reputation: 84,331

Post » Mon Jan 07, 2013 9:52 pm

Awesome! That definitely helped a lot! Thank you so much!
B
4
Posts: 78
Reputation: 606


Return to How do I....?

Who is online

Users browsing this forum: Janaina and 2 guests