ID:268862
![]() Dec 9 2004, 11:44 am
|
|
I need coding for seasons, like days , months , winter , summer , spring & fall like what WB has on Harvest Moon: Trinity Ranch but for my Zelda game & DBZ game
|
ok and on the weather part i just put the weather system demo i fount somehow with it , hanks for your help
|
How would i make it when it is season 1 the grass is bright green then is season 2 the grass is dark green like icon changing a world thing
var |
No, I'm not going to give you a program for seasons, but I will help you.
What you need are some global variables which tell the time.
When the world starts, you want to start a timer which starts everything up, basically. Depending on how long you want one day to be, it will be different.
This is one very simple time-keeping procedure, which is untested. Please do not copy/paste this unless you understand how every goes, and good luck.
If you want to save the time from the last time the server was open, you can save the variables to a savefile.
~~> Dragon Lord
PS: Don't request coding on the forums, it is rude and annoying.