fixed the issue with SpriteDepth.cs creating weird shadow occluders when the scale is not 1x. Now centers it on the correct thing regardless of the scale. Also fixed issue where player sometimes appears above objects it is not supposed to when the object is very thin.
Mitigated issue of light sometimes shining through objects. Still happens occaisionally but is more rare now.
Adjusted background position in simple background script.
fixed the issue with SpriteDepth.cs creating weird shadow occluders when the scale is not 1x. Now centers it on the correct thing regardless of the scale. Also fixed issue where player sometimes appears above objects it is not supposed to when the object is very thin.
Mitigated issue of light sometimes shining through objects. Still happens occaisionally but is more rare now.
Adjusted background position in simple background script.