You can use this custom block in your platformer, and customize the settings. It does all the work for you. Click 'See inside' to find it. Read the comment before you use the custom block, though. You can also click the green flag for a demonstration of its full capabilities.
New logo! Yay! Give credit if you use this custom block Credit to @griffpatch for the original platformer base. Comment if the custom block was helpful to you and on what variables that you think I should add to it. Update Log: 7/7/15- platformer base switched to @griffpatch's 4/7/15- Project shared!