Charas-Project

Game Creation => Requests => Tutorials => Topic started by: maxine on June 22, 2005, 11:56:33 AM

Title: A BASIC NIGHTA ND DAY TUTORIAL
Post by: maxine on June 22, 2005, 11:56:33 AM
Super Basic Day To Night

Want a day to night system? As you might have guessed this ones super basic!

What You Need To Know

Switches
Set screen tone
Wait
Labels

Step1: The Event

Make as many switches as you want times of day e.g. dawn, day, dusk, night
Go into the common events name one “day to night” set it as a parallel process with condition switch “Time” (this is for if you ever want time to stop)
Look at this code
Note: this code starts with dawn you can start with whatever time you want

Set label (?) any label you have free
Change switch dawn ON
Set screen tone (?? ?? ??) set to a suitable tone
Wait ? (However long you want dawn to last)
Change switch day ON
Set screen tone (?? ?? ??)
Wait ?
Change switch dusk ON
Set screen tone (?? ?? ??)
Wait ?
Change switch Night ON
Set screen tone (?? ?? ??)
Wait
GO TO Label (the one you specified earlier)
Title:
Post by: Slippy_Gonzalez on June 22, 2005, 04:06:17 PM
Hey your pretty good at this...if i post some code into here of my game time event...you think you could tell me how to make it reset after 24 hours...and how to put day and night into it?
Title:
Post by: maxine on June 22, 2005, 04:14:23 PM
well yes and maybe. I dont quiet much know exactly what you mean but a fast Walkthrough

If you want too start out as day you just have a switch called "day" and thats tinted screen 100% 4 me. Then you just put some wait and let other event go as paralell. Then when u have reached your daytime you switch too "night" switch which tints screen too i would say 40% or so... More will make it too dark... 30 maybe but not lower.... This is a fast walkthrough you can do it all better with variables. And i know this isnt solving the thing you asked so much but i didnt get it.