Hello everybody
My project has a pretty simple day/night cycle:
Morning – Noon – Afternoon - Evening – Night
When the player goes to sleep on Friday November 10, a picture with “Saturday November 11” appears, and he wakes up that day.
And so on.
My problem is: I want to implement a simple calendar system for certain events to show up at certain dates.
For example: a fox appears only at night on June 6 and in the afternoon on June 11.
Of course I could use a lot of switches (Monday afternoon, Monday evening, Monday Night, Tuesday Morning, Tuesday Noon… and so on) and use these, or conditional branches. Even a newbie as myself can do that.
But I would need a lot of switches. For week 1, I would need 35 switches (7 days, each 5 switches). For a month, I would need more than 140 switches.
It’s doable, don’t get me wrong.
But before I go into full switch-modus: is there a better, more elegant solution ??
PS: I don’t need time counters, in my game time flows with certain events, so no timers in the backgrounds. And I looked at tutorials & plugins, but they couldn’t help me.
PPS: I use some of Visustellas plugins, but I didn’t find what I needed.
Thanks in advance !
My project has a pretty simple day/night cycle:
Morning – Noon – Afternoon - Evening – Night
When the player goes to sleep on Friday November 10, a picture with “Saturday November 11” appears, and he wakes up that day.
And so on.
My problem is: I want to implement a simple calendar system for certain events to show up at certain dates.
For example: a fox appears only at night on June 6 and in the afternoon on June 11.
Of course I could use a lot of switches (Monday afternoon, Monday evening, Monday Night, Tuesday Morning, Tuesday Noon… and so on) and use these, or conditional branches. Even a newbie as myself can do that.
But I would need a lot of switches. For week 1, I would need 35 switches (7 days, each 5 switches). For a month, I would need more than 140 switches.
It’s doable, don’t get me wrong.
But before I go into full switch-modus: is there a better, more elegant solution ??
PS: I don’t need time counters, in my game time flows with certain events, so no timers in the backgrounds. And I looked at tutorials & plugins, but they couldn’t help me.
PPS: I use some of Visustellas plugins, but I didn’t find what I needed.
Thanks in advance !