Saturday, 5 December 2015

Street Scene: Day/Night & prototyping

Using what I was taught this week, I added a day/night cycle into my street scene. My game involves the player triggering a series of story points, so I came up with the idea to change the time of day each time they made progress by getting one of the points. I created a script and added it to the light which, when a point is triggered, rotates the entire object slightly on a single axis for a few seconds.

Unfortunately it's a little difficult to tell that the sun is moving unless you focus on the shadows on the ground, so if it's possible, adding some form of colour affect to the light at different stages would make it a more effective mechanic.
Code activated each time a point is triggered

No comments:

Post a Comment