Basically I have all the movement stuff, but I want some extra things such as gravity. The MAIN thing is that I want to be able to move my character along a surface by seeing the background color it is standing on or via some other method. Also how would I toggle a new level/scenario. If someone could tell me where to find this or give a sample I will really appreciate it. You are awesome!
So something like the character will only move left, right and jump when on black and on blue it will only be able to move left and right. Also when on Red it will proceed to the next level.
Background: 

