Code demonstration of the concept: http://pastebin.com/qGhR26ng
People often struggle to understand how to go about implementing collisions in their 2d games. This can often lead to people relying on systems like "solid" which are not the most effective and can be problematic.
This is actually a clip from a revised edition of my in depth platformer tutorial that I am releasing soon. I think it's a helpful demonstration that warrants standing out as its own little video.
My latest video game, Another Perspective: http://shaunspalding.co.uk/AnotherPer...
Read my blog! http://www.shaunspalding.co.uk
Follow my twitters! / shaunspalding
Intro clip animation by Hassan Otsmane Elhaou - http://www.hassanoe.co.uk/
Intro music by Matthew Harrington - http://matthewfreakingharrington.com/