Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • Tutorials »
  • A BASIC NIGHTA ND DAY TUTORIAL
« previous next »
  • Print
Pages: [1]

Author Topic: A BASIC NIGHTA ND DAY TUTORIAL  (Read 2673 times)

Offline maxine

  • Average scripter
  • Zealot
  • *
  • Posts: 736
  • ¨Dude i am 16 with 2 balls and hair
A BASIC NIGHTA ND DAY TUTORIAL
« 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)
Logged
Frontline Fighters Platoon Multigaming Clan

Offline Slippy_Gonzalez

  • [ Espa-Mancer ]
  • Initiate
  • *
  • Posts: 83
  • [ Espa-Mancer ]
    • "My Myspace If Your Interested"
(No subject)
« Reply #1 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?
Logged

Offline maxine

  • Average scripter
  • Zealot
  • *
  • Posts: 736
  • ¨Dude i am 16 with 2 balls and hair
(No subject)
« Reply #2 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.
Logged
Frontline Fighters Platoon Multigaming Clan

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • Tutorials »
  • A BASIC NIGHTA ND DAY TUTORIAL
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum