![]() ![]() ![]() Now you have a day and night cycle that is fully simulated and always working in the background and doesn't rely on you to be calling for it as a common event. So even when your in a building, time is still ticking by outside and the weather changing etc. Whenever you enter a building, simply turn your tint back to normal AFTER the player transfer. Copy this page and paste it 4 times, using the same condition variable for each one but raising the DAY/NIGHT variable by one each time until you end up at your last page ( PAGE 4 ) with if DAY/NIGHT variable is 3 or above.ħ. In that parallel process you put a condition switch for if variable DAY/NIGHT is 0 or above change the tint to ( whatever you want as morning )Ħ. You are now done with the common event, leave it alone and go back to your main world map and create a parallel process. At the end of every one of the 4 day types, put a variable named something like DAY/NIGHT and ADD 1 to itĥ. Inbetween these times put as many 600frames as you want minutes for how long you want that part of the day to beĤ. In the common event comment where you want morning, afternoon, evening and midnight to startģ. Okay I just re-wrote the whole thing and designed my own which allows a full dynamic always running day/night cycle which only takes just abit more work.ġ.Create a common event, make it parallel process, and use a condition switch you activate at the beginning of the gameĢ. Remember after the variable has increased 28 times make sure you reset it to 4 Setup the cycle starters with the numbers 6, 12, 18 ,24 (28 is the cycle reset) Wait for completion when setting up your tints. Remember the switches are optional and I will explain why. Here set up all your separate conditional branches with your tints and variable instants. But it should only take 1min and 30sec to set up. Now, you can use VXA's preset tints or make your own.īut for the tutorial lets call it time cycle. Why stuff your game with someone's script when you can easily do this yourself!Įverybody knows there are at least 4 Major time of day cyclesĭawn,Day,Dusk,Night So you need 4 different tint tones. If you are a RPG Maker user then you know scripts should always be a last resort. Maybe have it effect when you can enter shops, or even how your story line goes. Have you ever wanted to use a day and night system inside your game?
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |