How to Create 2D Shadows

Learn how to create 2D shadows for a simple art style, 100% from scratch using C++ and SDL2. The first thing you’ll learn is how to create some shadow images for the player and wall sprites. Next code will be setup to draw the shadows in the game with the correct offset and rotation. Finally all the shadows will be drawn together into a texture/image to ensure that they are all the same color.

Watch Video...

Download 2D Shadows Code

Enter your email to download the code free and join the mailing list. You will get news and updates about this and future games. (You can unsubscribe at any time)


Thanks for your subscription!

Download 2D Shadows Code

Download Should Start Automatically

Didn't work? Click here to retry.


Cookies and Privacy Policy

By using this website you consent to the cookies and privacy policy. Learn more