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. :)