Collision detection with a background using an image
This demonstrates the usage of checking the RGBA values within pixels of an offscreen canvas to check for collisions. Use arrow keys to move, and tick 'Rigid objects?' for simple collision resolution.