2D Day & Night Cycl
PLAYVOR
$5.50
(no ratings)
Date |
Price |
---|---|
日時 |
価格($) |
03/17(2018) |
5.5 |
11/24(2024) |
5.5 |
Jump AssetStore
Demo
2D Day & Night Cycle is the simple, flexible and effective solution to achieve a believable cycle effect in your 2D game.
How To Use
- Create a material with the Sprites/DayNight shader or the diffuse version.
- Apply the material to your sprites.
- Attach the DayNightCycle2D script to a GameObject.
- Set the material in the script and adjust the settings.
Cycle Settings
- Day length in minutes.
- Current time of day.
- Amount of sunshine hours in a day.
Cycle Effects
- Custom transition curve that controls the rate of change between day and night.
- Blueness which makes the sprites seem more blue.
- Grayness which controls the desaturation.
- Darkness which simply makes the sprites darker.
Flexibility
Adjust the prementioned parameters to your needs. If necessary, create multiple materials if, as an example, the background elements need to be more affected by the night compared to the foreground elements.