How do I fix this problem with floor?

0 favourites
  • 5 posts
From the Asset Store
************ 2D top down floor spikes **************
  • Hey guys, how do i fix this problem with floor? The player fall inside the floo, lol.

    Look the images:

    Sorry my poor english and thanks.

  • Have you checked all your collision polygons?

    Are they the same for each animationframe?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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:

    The floor pollygon:

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

  • 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..

  • Maybe mixing physics with platform is the problem.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)