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)