Following Osric's triumph in designing the day symbols, I finished setting up these symbols to automatically appear whenever the day is changed.
Boy, was it tiring. I had a few headaches here and there trying to figure out how to make it works (since I failed like, ten times or so), but yay, nothing can beat the might of the Pepens, so it turned out pretty well in the end.
How did I do it you ask? You sure you wanna know?
I made use of the common events' parallel process. I assigned each days with a specific switch beside the day variable which stores the current day's value. The common event will turn on when the switch for the next day is on, but the common event will not execute its command until the day variable confirms that the day has changed, for example, the symbol for day 3 won't appear unless the day 3 switch is on and the day variable equals to 3. Once the commands have been successfully executed and the symbol for the day appear, the common event turns off its own switch, and turns on the next day's switch so that the next day's common event can wait for the day to change and execute its commands and repeats the process.
Well... yeah. That's basically how I did it. Did you get it? Hopefully you do. If you don't, you're not worthy of being a Pepen!!! Not that I didn't doubt you're a Pepen in the first place anyway, so it doesn't actually matter.
There's another thing, however. This way of doing the day changes will ONLY work IF you start the game from the beginning. I can activate the day change symbol feature in-game using an NPC but that means the player with old savefile will have to come to this NPC and talk to him to activate it. So I made a Shimotsukin in Mt. Gaburiera so the player have to talk to it to activate the sumbols. It was so nonsense. It is not long after that did I realize the nonsenseness of this approach. Why didn't I thought of using the PARALLEL PROCESS like how I do the day changes? So I went and create a new common event that activates when the player's 'day symbol active' switch is off. It simply turns the switch on, and then it will automatically kills itself after doing that since the switch is no longer off (so the common event cannot take any more actions). I might delete this common event when the game's done though (like, 100 years from now? /shot) since it's really not clean and I'm afraid it'll slow down the whole game's process.
...You're following aren't you? Well, are you? I went through all the trouble to write these down to explain it all so you better do! /thrown into the nearest river
You want proof? Here's the proof.
We have Osric's beautiful touches to thank for all of this =w=
On another note, I was thinking it'd be nice to play some kind of SE that differs for each day. Maybe some short melodies? Tell me if anyone have any melodious SE that can be used for the days. And yes, we'll be needing 14 SEs.
If you wanna see the day changing symbol for yourself, you can update the game. I uploaded the symbols just now =w=
It's funny to see how Sakura is the only Kaduki'd sprite, wkwkwkwkwk.
ReplyDeleteAnd good work, Mister Pepen. As for the SE... I'd suggest taking parts of ACAD.
Like Shelanoir Forest for Shelanoir.
... Did I make and get the sense, I wonder...
Osric did a wonderful job of course~
ReplyDeleteGood work on getting it working, Trass. Though it's a bit sad that Shimotsukin isn't in Mt. Gaburiera anymore.
And Xiii has a good idea, though it'll be a bit interesting trying to get melodies for the gods we haven't seen, like Digia.