Massive Changes involving realism, see Changelog This project generates an extremely realistic shadow for 2D scratch can using the pen tool and a list for object data. Object Data is predetermined for this demo (so you don't have to wait 500 years), but to recalculate it center the cat and change the state to 2, and center the cat. You can change the sprite for this by changing the Y-size variable to match the Costume's Y Size and then re-generating the object data. This engine was inspired by DarthPickley's 111 Costume version, but this project only uses one 1x1 black square and a list 'o data. Shadows are generated within 1/2 second. Use the Left and Right arrows to move the cat left and right, and press the up arrow to make the character (very badly) jump. Please love-it and remix with lots of different sprites etc. I want to text the expandability of the engine :) PS: This will not work well with sprites with spaces on the Y axis. (eg. cut horizontally) --------- Engine has been greatly improved. Darthpickley's x/yoffset formula was a LIE (:O) as it made shadows smaller when the light was closer. So I made my own formula! :D Also - Shadow generating is 2x faster. Now with REALISTIC LIGHTING and more realistic jump shadows! :) Fixed bug with light distances over 240 px.