I've come back to this project with a little more resolve to fix my old bug.
See: https://scratch.mit.edu/projects/75999804/
Problem Description When using the "touching colour" sensing block it works properly (spite bounces and can jump properly). I wanted to make my own touching sensors for more control (with different objects, different colours etc). However, my touching sensors do not work with the same behaviour and I cannot understand why (the sprite no longer "bounces" and "jumps" properly).
See Problem in Action Compare behaviour - See comment in the scmpoo sprite for the problem area - Below the forever loop swap the following "touchingFoot = true" with "touching colour [brown]" They should have the same action but you'll see the difference in behaviour
TouchingFoot (and all the sensors) are declared under game and are a continuous loop broadcasting (to sense contact with desired objects).
Hope that someone can help out, I'm really scratching my head here (no pun intended).
-- Further Detail - 2018/04/25
I wanted to try to use sensors to avoid very long if statements. (This could happen if I make it a side-scroller with many platforms). Proving tricky to find the right logic. (I see the problem is that when the sprite is touching just one one of the blocks the requests from the other blocks (not_touching) is competitng with the block loop it is touching.
I was looking for a way to perform the checks within the platform spite itself. (To make the if statements more manageable).