HTML document showing basic resizing functionality for platform games.
MIT license.
Modified the resizing functionality to react to the browser window resizing.
Added a clock for rendering intervals
Added a frames per second property 'fps' to the clock object.
Added an avatar object and drew it.
Added gravity.
Added key detection and handling.
Basic working example with a couple of position bugs on resizing.
Added a temporary fix for compensating horizontal position when resizing the browser.
Pending formula to compensate horizontal position on window resizing.
Organised structure.

Gave avatar its own file and object structure.
Removed the onresize handler and passed the ratio object to the #drawInContext function.
Fixed a misplaced ratio scaling in #checkForCollisions and used it in #drawInContext.
Passed the ratio object as a parameter to the #computePosition method.
Used the window to screen ratio to compensate the velocity when resizing the screen.
Fixed ball overlap with platforms on collision.
Swapped the order of #checkForCollisions and #drawInContext to avoid the display of fake overlaps on collisions.
Removed a redundant operand in an equation in #checkForCollisions.
Added the 'falling' attribute for detecting collissions with roofs.