Side Scroller Shadows

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Huday.object



How could I add a shadow like the one shown in the second picture edited with GIMP, I’ve looked all over but I can only find lighting tutorials for top down games, I also want the same effect for the cube and the background so it would have to be dynamic.

I guess same rules apply to side-scrollers. put a Light2D above the level and add a LightOccluder2D to every shadow casting object

A112Studio | 2020-05-09 15:24

Won’t that make the shadows cast downward instead of into the background?

Huday.object | 2020-05-09 16:59