- NightmareHour.png (5.3 KiB) Viewed 979 times
Time is a weird word if you think about it.
Anywho...
I know I've been asking loads and loads of question, but the problem is that I have all these ideas for what I want to do and I've got the graphics to do it, I'm just a beginner at scripting (and I've only be using GE for a month or so).
For the game I'm making, I'd to allow time to pass in real-time. I've got a sequence of images here for the right half of the town (these are NOT final. They look like crap and I haven't done any real texturing). I'd like to set it so that there's a clock in the right hand corner of the screen that passes just like normal time does - though faster, but still with a delay. Basically, I'd like there to be two minutes in an hour. So every "minute" in game time would be equal to two seconds. Once I have a code for this, I can do all sorts of other things that I want to do on my own (ex. "ifTime=12:00" the animation for the backdrop will play a 20 frame animation for the backdrop going from early morning to midafternoon, then remain there).
There is a slight twist though... in the story, when time reaches exactly midnight, everyone in the village turns to stone except for your character. This only lasts an hour, but when this happens I want the timer to destroy itself and be replaced by the special "Nightmare Hour" image (see above).
If anyone knows how to create a timer that will pass like this (including changing from 1:59pm to 2:00 pm, and from 11:59am to 12:00pm, etc), PLEASE let me know how to do so or at least provide a demo that I can learn from. This is going to play a big part in my game.
I've got millions of other questions, but I'm wanting to take this one step at a time.
Can't guarantee I'll be able to test out any suggestions... I've already got a lot of other information I'm backed up on, and I've been really busy lately. I'm just getting information to prepare myself for when I've got the time to implement it. Thanks, everyone!
P.S. as for the Nightmare Hour... there won't be a visual of time itself passing in the game, but after the one hour delay is over, I want the Nightmare Hour actor gone and the timer created at 12:01am so that it will proceed as normal. Then when it reaches 11:59pm again and the 30 seconds are up, the Nightmare Hour repeats, and so on and so forth.