joseops07's Recent Forum Activity

  • Hi both,

    Thank you for your replies.

    I ended up making another solid, and gave it a completely linear collision polygon similarly to what igortyhon has suggested.

    This way there's no problem to solve because it's an upwards diagonal line the character will be walking on top of.

    For the time being, that should do the trick.

  • Assuming we have a character (spr_character) with platform behaviour (with default values) and a solid (spr_solid).

    The character is resting on top of a long instance of the solid, and we start moving to the right.

    At some point, we encounter another instant of the solid, which is just 1 pixel higher than the first solid we are walking on top of.

    When the collission occurs, the character GOES UP that one pixel while continueing its movement to the right.

    However, if the extra height of this second solid had been 2 pixels or higher, the character would have gotten stuck there.

    How can I make it so the character can overcome these differences in altitute when they are higher than 1 pixel?

    In a sense, this would be similar to how Terraria characters move. You can walk through the map and not get stuck unless the difference in height is too much, in which case you would have to jump.

    Thank you in advance for your time and cooperation. :)

    Tagged:

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

joseops07's avatar

joseops07

Member since 25 Oct, 2021

None one is following joseops07 yet!

Trophy Case

  • 3-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

6/44
How to earn trophies