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 second.
Clicky
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 review, love and remix it with lots of different sprites etc. I want to text the expandability of the engine with different sprites.
PS: This will not work well with sprites with spaces on the Y axis. (eg. cut horizontally)
Offline
Updated with new formula, and much faster! Shadows now extend above the character's original Y scale also.
Offline