Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Game Development How to Make a Video Game Score, Enemies, and Game State Add a Start and End

Game illumination

At the beginning of my game the illumination and colors are alright as shown in the video, but after I lose and the scene is reloaded it changes to some weird silver illumination and I don't get why. I did everything shown in the video except that the 'alive' variable I changed it to public so my game could run.

How can I fix this.

Thanks

1 Answer

Harry James
Harry James
14,780 Points

Hey again Alejandro!

Thanks for your answer on the other Community post earlier! I made sure to link across to it for another student having the same issue.

I'll go ahead and mark a Best Answer here so that other users know that this question has been answered.


For reference, if a student is coming to here from a search engine or from the Questions tab on the video, Alejandro's answer can be found over here (Go to Window >> Lighting >> Lightmaps >> Untick the Auto Checkbox >> Press Build).

If his answer helped you then be sure to give him a +1 on his forum post :)