Charas-Project

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

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • Tutorials »
  • Game Time
« previous next »
  • Print
Pages: [1]

Author Topic: Game Time  (Read 3572 times)

Offline rm2k3_rulez

  • Halo 3 is da bomb!!!
  • Initiate
  • *
  • Posts: 78
  • love games got 2 dogs and a lil bro school sux like always.
Game Time
« on: May 04, 2008, 01:13:40 AM »
Ok I got a tutorial on how to make rm2k3 tell you how long you've been playing your game for. Instead giving an all out word by word tutorial, I'll jus show you waht it should be. One thing first go to the Common Events first and Then enter this stuff in.

Part 1:
<>Wait: 1.0 Sec
<>Variable Oper: [xxxxSeconds] +1
<>Branch if Var [xxxxSeconds] is 60
    <>Variable Oper: [xxxxMinutes]+1
    <>Variable Oper: [xxxxSeconds] Set 0
End
Branch if Var [xxxxMinutes] is 60
    <>Variable Oper: [xxxxHours]+1
    <>cariable Oper: [xxxxMinutes] Set 0
End
Ok the xxxx stands for whatever # the variable is. Now for every second it adds to the variable Seconds and will build up until it reaches 60. Then it adds 1 minute to the variable minutes. Oh one more thing set this Common Event to a parallel process and teh Swotch should be this Switch[Time] that way when you start your game or whatever make sure your intro turns on the Switch Time that way the event starts going.

Part 2: THis is the watch laso make this a parallel process and make switch Watch Common Event should look like this.

Message:You've been playing for \v
  • Hours,

\v
  • Minutes, and \v
  • Seconds.

Switch Operation: [xxxxWatch] OFF

Turn the switch off that way the message wont keep going on and on. Once again x stands for variable number or switch number. Time to go make a watch now. Go to items and make a new item that is a switch. Make it turn on the Watch switch that way it tells you how long you've been playing.
This concludes the tutorial.
Logged
Happy is Frowny, Frowny is Happy. Happy brings laughter but then brings tears, which causes Frowny. Frowny makes everybody depressed but then things work out just fine. So question is now, which one are you when Happy is Frowny and Frowny is Happy?

Offline A Forgotten Legend

  • Your neighborhood box of colors
  • Royal
  • *
  • Posts: 4,428
    • Website
(No subject)
« Reply #1 on: May 04, 2008, 01:17:02 AM »
Just showing what it would be isn't really a tut.  Its more of a "here!  Take this!  Don't learn how this works!"

But, it would get the job done.
Logged

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
(No subject)
« Reply #2 on: May 04, 2008, 01:39:41 AM »
Im pretty sure we have a game clock tutorial here somewhere already
Logged

Offline lilsniffs3

  • Exemplar
  • *
  • Posts: 1,573
(No subject)
« Reply #3 on: May 04, 2008, 03:52:18 AM »
He probably just thinks we haven't been to RM Tutorials. But it's pretty simple to do.

PS: There should be a thread about how to do the simplest things, like a collection for beginners, that has stuff like jumps, running, time, clock, day/night, etc. I feel like making one.
Logged

Offline rm2k3_rulez

  • Halo 3 is da bomb!!!
  • Initiate
  • *
  • Posts: 78
  • love games got 2 dogs and a lil bro school sux like always.
(No subject)
« Reply #4 on: May 04, 2008, 04:16:21 AM »
Hey guys one question real fast. How do i change my avatar. I cant figure out how. I know this has nothing to do with this tutorial.
Logged
Happy is Frowny, Frowny is Happy. Happy brings laughter but then brings tears, which causes Frowny. Frowny makes everybody depressed but then things work out just fine. So question is now, which one are you when Happy is Frowny and Frowny is Happy?

Offline lilsniffs3

  • Exemplar
  • *
  • Posts: 1,573
(No subject)
« Reply #5 on: May 04, 2008, 04:21:25 AM »
Look at the top left, near our banner, press Profile, press edit options, and you can upload one from your computer.
Logged

Offline rm2k3_rulez

  • Halo 3 is da bomb!!!
  • Initiate
  • *
  • Posts: 78
  • love games got 2 dogs and a lil bro school sux like always.
(No subject)
« Reply #6 on: May 04, 2008, 04:53:18 AM »
THanks lilsniffs
Logged
Happy is Frowny, Frowny is Happy. Happy brings laughter but then brings tears, which causes Frowny. Frowny makes everybody depressed but then things work out just fine. So question is now, which one are you when Happy is Frowny and Frowny is Happy?

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • Tutorials »
  • Game Time
 

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