TURN LIGHTS OFF
To turn all lights off and turn the hotel dark i had to disable all light gameobjects and change the color of my directional light to a darker shade. i did this by making a gameobject list for the lights and turning them off after a few seconds had past.
in my cooldown timer i added the same concept but the other way around.
Assets.
first i had to create some assets to animate when the lights turn out. i created some dark assets with light assets. in the dark this creates an effect of a weird shape with
a clearly visable scary mask.
Aniamtion.
for the ghosts I made a couple of animators for a right, front or back animation (this is beacause i wanted to place the ghosts in different rotations. these aniamtions of course had no position so could place them whereever I liked.
next i could put hem in my list in the in spector and place them in my scene!
I also added a Bloom script to my main camera. now i can change the intensity with this simple code:glowFX.intensity = 2.5f;
I made it so that when the lights turn back on that there is a little flash which is meant to illustrate your eyes readjusting
Reacties
Een reactie posten