# How do I make an adjustable day/night cycle?

**URL:** <https://forums.unrealengine.com/t/how-do-i-make-an-adjustable-day-night-cycle/288758>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [July 20, 2014, 3:51pm UTC](https://forums.unrealengine.com/t/how-do-i-make-an-adjustable-day-night-cycle/288758 "2014-07-20T15:51:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheCreativeGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheCreativeGames](https://forums.unrealengine.com/u/TheCreativeGames)\
**Post date:** [July 20, 2014, 3:51pm UTC](https://forums.unrealengine.com/t/how-do-i-make-an-adjustable-day-night-cycle/288758/1 "2014-07-20T15:51:16Z")

</div>

Hi,

I want to have a Day Night Cycle with Sunrises & Sunsets in my game. I don’t want the time going by super fast, can I set a time limit in seconds for how long it’s day and how long it’s night? So like it’s day for 600 Seconds and it’s night for 600 seconds. Also I need there to be a Moon at night. Is there a Video Tutorial for this?

Thanks so much for your help! 🙂

---

<div class="post-metadata">

**Author:** ![Shelby](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shelby](https://forums.unrealengine.com/u/Shelby)\
**Post date:** [July 20, 2014, 4:10pm UTC](https://forums.unrealengine.com/t/how-do-i-make-an-adjustable-day-night-cycle/288758/2 "2014-07-20T16:10:38Z")

</div>

Hello,

Check out this tutorial: [Tutorial:\_Time\_of\_Day](https://wiki.unrealengine.com/Tutorial:_Time_of_Day).

You can change the “Sun Speed” variable to adapt the day/night length.

---

<div class="post-metadata">

**Author:** ![TheCreativeGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheCreativeGames](https://forums.unrealengine.com/u/TheCreativeGames)\
**Post date:** [July 28, 2014, 4:40pm UTC](https://forums.unrealengine.com/t/how-do-i-make-an-adjustable-day-night-cycle/288758/3 "2014-07-28T16:40:31Z")

</div>

**Is there a Video tutorial that I could see for this?**

---

<div class="post-metadata">

**Author:** ![Shelby](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shelby](https://forums.unrealengine.com/u/Shelby)\
**Post date:** [July 28, 2014, 4:53pm UTC](https://forums.unrealengine.com/t/how-do-i-make-an-adjustable-day-night-cycle/288758/4 "2014-07-28T16:53:01Z")

</div>

Here’s one of them: [Unreal Engine 4 Tutorial - Time Of Day - YouTube](https://www.youtube.com/watch?v=xt_TIYthRUE)

Just type “UE4 time of day” on google and you’ll see plenty of them.

---

<div class="post-metadata">

**Author:** ![Haflurgaflur](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Haflurgaflur](https://forums.unrealengine.com/u/Haflurgaflur)\
**Post date:** [November 18, 2014, 3:41am UTC](https://forums.unrealengine.com/t/how-do-i-make-an-adjustable-day-night-cycle/288758/5 "2014-11-18T03:41:51Z")

</div>

I want the night to last longer, and darker. Is it possible?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0df12f74](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0df12f74](https://forums.unrealengine.com/u/anonymous_user_0df12f74)\
**Post date:** [November 19, 2014, 5:29pm UTC](https://forums.unrealengine.com/t/how-do-i-make-an-adjustable-day-night-cycle/288758/6 "2014-11-19T17:29:14Z")

</div>

I responded to your question here:

> **[Longer and Darker Nights](https://forums.unrealengine.com/questions/134979/longer-and-darker-nights.html)**
>
> I’ve used the day and night cycle here: A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums and it definitely works, but, the night is very short and very very bright. Note: I completely suck at blueprints (more of a...
