This should have been posted earlier, but
ct.js now has a tutorial on how to create a fully-working platformer.