PIE-NU / Expedition-2018

Our game developed as part of the 2018 Expedition!
0 stars 0 forks source link

Lighting zaxistest #27

Closed DrDoak closed 6 years ago

DrDoak commented 6 years ago

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.