How do I fix this problem with floor?

Get help using Construct 2

Post » Fri Mar 28, 2014 4:42 pm

Hey guys, how do i fix this problem with floor? The player fall inside the floo, lol.

Look the images:

Image[/URL]


Sorry my poor english and thanks.
B
5
S
1
Posts: 5
Reputation: 585

Post » Fri Mar 28, 2014 4:53 pm

Have you checked all your collision polygons?
Are they the same for each animationframe?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Mar 28, 2014 5:07 pm

LittleStain wrote:Have you checked all your collision polygons?
Are they the same for each animationframe?



Hi Little Stain, are you talking about the collision polygons of the floor or the players?

Please, look the images:

The players pollygons are the same for all animation:

Image


The floor pollygon:

Image


That´s the code if needed, but i think its not important for this problem:

Image
B
5
S
1
Posts: 5
Reputation: 585

Post » Fri Mar 28, 2014 5:15 pm

Does every frame in every animation have the same colissionpolygon?

It's already visible from the one you posted that it only has one collision point at the bottom, which in my opinion could cause issues.

Also the collision-lines on your backgroundfloor aren't straight (is that intentional?)

I would recommend using a square sprite for the platform behaviour and pinning the animations on top of it, but if you want to do it this way, just make sure all colissionpolygons are the same through the entire animation, at least where they touch the floor and I would make the floor collision straight, just to be sure..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Mar 28, 2014 5:36 pm

Maybe mixing physics with platform is the problem.
B
49
S
16
G
9
Posts: 1,098
Reputation: 11,222


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 47 guests