You want the moon? Just say the word!


So I was playing Sea of Storms yesterday, and I got to a part where you could shift the sun and moon around to solve puzzles, and I was like, "You know? I can actually do this!" I was right too. I had enough code that I had a working sun and moon model, and I had a ring menu, so I could simply adjust a few events, and voila, the ability to move the sun or moon back and forth, based on the time of day.

Mainly what I needed to add was code that overrode the time system I already had in place (effectively stopping time), and then I could advance or rewind the sun and moon at will.

This code uses the ring menu with three options: Revert Time (basically restores the normal time sequence from its overriding), Change Sun and Moon Position (thankfully, I didn't use the same variable for regular time, so I could rather easily freeze and reverse things), and Change Lunar Phase (I had the ability to use naming events, so I made it so you could name the phases Full, New, Waxing, Waning, Third (Qtr), First (Qtr), Solar (Eclipse), and Lunar (Eclipse)).

And yes, this picture has the main looking directly into a solar eclipse, so she's going blind.

Get Oracle of Tao

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.