Day/Night script and pictures

Lothloran

Veteran
Veteran
Joined
May 7, 2018
Messages
113
Reaction score
92
First Language
English
Primarily Uses
RMVXA
So here's a general rundown of what I've been trying to figure out for the last two days with trial and error/googleing

I'm using the "Basic Game Time + Night/Day" script (Here: https://www.rpgmakercentral.com/topic/3225-basic-game-time-nightday/) and it's very nice

But what I'd like to have happen is for the time of day to work as a switch to change the picture on the map, IE; day-time = sunbeams, night-time = moonbeams, dawn = something similar.




I've tried conditional branches, switches, variables, etc etc. If anyone has any suggestions I'd love to hear them.
 

Harosata

Dramatic Lightning's BFF
Veteran
Joined
Aug 20, 2015
Messages
246
Reaction score
70
First Language
English
Primarily Uses
RMVXA
I was initially going to suggest altering the script, but (due to advice) if you are planning to work this through events, $game_time is a global variable made from this script, meaning that it can be called anywhere. In other words, you can set up your Conditions as:

Condtional Branch * Script : $game_time == 240
-Move Picture[1] (opacity 0) (duration 120)
-Move Picture[2] (opacity 128) (duration 120)
Condtional Branch * Script : $game_time == 360
-Move Picture[2] (opacity 0) (duration 300)
-Move Picture[3] (opacity 128) (duration 300)
...I would probably start by "initializing" the pictures somewhere in your intro (at 0 opacity each), and this is assuming that time works nicely across maps, so you may need to add more Move Pics for 0 opacity. But yeah, $game_time is the key here.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,047
Messages
1,018,540
Members
137,834
Latest member
EverNoir
Top