GDACollab / TacoCat

6 stars 0 forks source link

[DRIVING] Dynamic Background Layer Switch #302

Open skysfalling opened 1 year ago

skysfalling commented 1 year ago

Create a function inside of LightingManager.cs that switches an element in the sky between 4 different variants ( one for each sky state : morning , midday, evening, night ) This sprite/image change should happen based on the timeOfDay slider. Gold Star if you can 'alpha fade' the images in/out.

Choose from the following sky elements to implement: clouds, stars, moon

The proper assets can be found in the Drive in the Art/CURRENT ASSETS folder.


/ .... /

Update(){

// based on time of day (0 -> 1)

if (timeOfDay < 0.25) {

    cloudSprites[0].SetActive();

}
else if() 

}```