Can the time of day effect the game?

Started by Icey, Tue 19/10/2010 21:13:17

Previous topic - Next topic

Icey

In my game I would like to have a icon that shows the time of day and I would like the screen to tint.

I basically need to know if there is some code I need to use to at least make the icon change.

Icon list.

-Sunny
-sun down
-Night
-Morning sky


Khris

How to get system time:
http://www.adventuregamestudio.co.uk/manual/DateTime.Now.htm

How to change icon:
Take the hour, turn it into a sprite slot and assign it to a non-clickable GUI's BackgroundGraphic.


(Don't get me wrong, but with ambitious projects like yours, how come you have to ask stuff that easy? This is very close to RTFM.)
Btw, you can't link to google mail attachments, we'd have to be logged in as you to see them, I guess. Also, the link in your signature is broken.

Icey

Ok I will check this out. And I fixed them both.

P.S. I know this is easy stuff That I should know. But I am still learning a lot, but I currently know just enough to work on a game that is basic.

Matti

Also, your signature is quite annoying.

Gilbert

Quote from: Khris on Tue 19/10/2010 21:23:44
(Don't get me wrong, but with ambitious projects like yours, how come you have to ask stuff that easy? This is very close to RTFM.)
Quote from: Mr. Matti on Tue 19/10/2010 22:42:42
Also, your signature is quite annoying.

Stick to topic. What was asked here fit this section fine. Take your critics elsewhere. :P

SMF spam blocked by CleanTalk