This is a game building block and all code blocks are commented. This block provides an example of how to get a character to move around a stage, have platforms to jump between and experience gravity. With this building block instead of checking that Felix the cat is touching the ground it checks to see if a hidden sense bar is touching the ground. The bar sits at the same level as Felix's feet and is about the same width. All the movement is applied to the bar and then Felix just matches it's position. The reason for using a sense bar means that Felix only stop when his feet touch the ground and not just any part of his body.
Left and Right arrows to get Felix the Cat to move around, Up arrow to make him jump.