top of page
Search

Entry 29

  • masoncbyrd
  • Apr 26, 2021
  • 1 min read

Updated: Apr 27, 2021




After many hours of just messing around until something worked, I was finally able to import a 2D render pipeline, change the materials of all the GameObjects in the scene so they'd be affected by 2D Lights, figured out how to add shadow casters to object so that light could be blocked (this isn't displayed in the video), added sprites for an industrial lamp lights source that has an on state, an off state, a breaking animation, and a broken state, I added sprites for a rocker light switch which can be interacted with by clicking on it when the player character is within range, and lastly I attempted to fix loads of bugs littered around through out the projects code; I wasn't successful with fixing everything. Now that this big part of the game is established I can now easily implement lighting for atmosphere in any level by changing the global lighting settings and adding some artificial lights if needed.


As a personal note, the biggest issues that I had to overcome with this section was that every time the game would run all the light fixtures would turn their GameObject references for the lights attached to them to null, and when I was first switching the project to the new render pipeline nothing in the scene I was working in was affected. I did end up overcoming both of these problems with some outside the box thinking.


 
 
 

Recent Posts

See All

Comments


JOIN MY MAILING LIST

Thanks for submitting!

© 2020 by Mason Byrd. Proudly created with Wix.com

bottom of page