"Does anyone know how to make a day and night cycle? I'm lost!"
That's a very very vague question ! Do you mean you want a timer to tell you when it's night time and when it's day time - and something to happen in each section, like the screen displays a night time scene at night and a day time scene in the day time ?
I don't want it on real time. What I had before was a circle, one half was light blue and in the middle was a fade and the other half was a dark blue and I made it rotate at 2 speed and it didn't move at all and 3 was to fast
My game is a character and the ground and the buttons and all and I just want a day and night cycle Perferably 10mins day 10 mins night, I'm gonna have monsters spawn at night but I know how to do that already but I just need a simple day and night cycle.
"I just want the. Ackground to slowly fade from a light blue sky with clouds to a night time shy with stars! Thank you for the fast response!"
Ah !! I see what you mean now ! Just a quick tip for future posts, you might be better just asking about the mechanics of what you want to do rather than what the mechanics are going to be controlling, so this question might get you more useful replies if it was just: "How do I fade from one image to another".
Anyhow, it's really pretty simple, just make up your night time background image and your daytime background image, place both in the scene on top of one another - and put the following rule on whichever one of the images is on top:
(the bit where it says '100' controls the speed, if you make this value higher it will be a longer cycle)
This basically fades the top image in and out and in and out . . . etc.
Comments
That's a very very vague question ! Do you mean you want a timer to tell you when it's night time and when it's day time - and something to happen in each section, like the screen displays a night time scene at night and a day time scene in the day time ?
"I just want the. Ackground to slowly fade from a light blue sky with clouds to a night time shy with stars! Thank you for the fast response!"
Ah !! I see what you mean now ! Just a quick tip for future posts, you might be better just asking about the mechanics of what you want to do rather than what the mechanics are going to be controlling, so this question might get you more useful replies if it was just: "How do I fade from one image to another".
Anyhow, it's really pretty simple, just make up your night time background image and your daytime background image, place both in the scene on top of one another - and put the following rule on whichever one of the images is on top:
(the bit where it says '100' controls the speed, if you make this value higher it will be a longer cycle)
This basically fades the top image in and out and in and out . . . etc.