I have a character that can cling to walls, and it basically functions well, but I want to have some control over what is considered a 'wall'. Because the character can cling nearly to the tops or bottoms of a solid (including sides of an object with 'Sine' behavior, e.g., a moving platform, which causes crazy sliding up and down) and still be considered 'Having a wall to left/right', I want to create a way to control the behavior. As it stands, there doesn't seem to be any way to put 'If sprite is colliding with [object]' as a condition in an event, so no matter what the wall is "made of", the game still treats the left and right sides of it like a wall.
Here are some examples of what I find...undesireable:
I tried changing the size of the hidden collision box when the character was on the wall, but that caused problems when the character left the wall (such as getting stuck in ceilings because the height of the bounding box suddenly doubled).
I hope I'm making sense. I want to make it so the character can only cling when it's touching a certain object.