Yumiowari

running to my dreams
Member
Joined
Dec 5, 2021
Messages
10
Reaction score
5
First Language
English
Primarily Uses
RMMV
Hello, there's a plugin that activates certain switch depending if is day or night in real world?
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
6,023
Reaction score
2,357
First Language
Dutch
Primarily Uses
RMMV
most in time, but if you want to make it realtime day/night system
and based it on the switch, you can event it.

I made a small event using that, but without a switch, can can be added
depending on the situation you want to use it though.
 

Yumiowari

running to my dreams
Member
Joined
Dec 5, 2021
Messages
10
Reaction score
5
First Language
English
Primarily Uses
RMMV
I was planning to make two title screens: one for when is day in the actual world that we live in, and another for when it's night. If I get some advancements in this idea I would be glad to post it for the community (will take some time, i'm new in this engine).
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
5,031
Reaction score
3,196
First Language
English
Primarily Uses
RMMV
You're going to have to presumption/guesswork. After all, my computer has no way of knowing whether it's light or dark outside my window, so unless you try to get into comparing timezones and almanacs (all of which could be altered by the user, anyway) you're just presuming.

But essentially it's pretty simple.
Control Variable -> Script -> new Date().getHours()

That variable will now be a value between 0-23 depending on the system clock. So you could do something like:
Conditional Branch -> previous variable > 18
- do nighttime screen
Else
- Conditional Branch -> that same variable < 7
- do nighttime screen
- Else
- - do daytime screen
 

Yumiowari

running to my dreams
Member
Joined
Dec 5, 2021
Messages
10
Reaction score
5
First Language
English
Primarily Uses
RMMV
You're a genius!
 

xabileug

Veteran
Veteran
Joined
Jul 1, 2014
Messages
397
Reaction score
116
i know there's already a plugin somewhere that changes the title screen image based on real time.. like in genshin.. but i think it as japanese.
 

Latest Threads

Latest Posts

Latest Profile Posts

Here's a showcase of layers of visual effects I've added over a scene. By stripping them off, one by one. :kaoblush:












Aaaaand, here's me working on the above scene, adding weather effects to it: :kaoeh:


DamageActor1_2.png added!
index.php


Krow and Dova's Cool New Game | Release Trailer

Forum statistics

Threads
124,576
Messages
1,164,514
Members
163,403
Latest member
jirohdyt
Top