I've been trying to apply the method Rory gave on this threat 2 Years ago based on the day to night cycle. But applying such a cycle can be a bit devastating. You see, I want the Day to Night cycle of the sun and Moon orbit around the mini map that I've assigned. But Unfortunately, it requires a lot of mathematical approach towards problem solving this issue that I'm currently having. Here is the event that I've assigned on my mini map cycle (it is originally done by Rory. But I've changed the values): -
the mini map's size is at around: 245.603, 183.059, and it lies on the top left side of the screen.
Global Value: Name: Period, Type: Numeric and the rest are default
Event > System: Every tick: Set Period to time*20 (for testing procedures, I need to assign the time 20 times faster than its original real time).
: Sun: Set position to (1037 -sin(Period)*150 ,172-sin(Period)*-10 )
At first, I'm testing whether the Sun is able to orbit around the mini map from Dawn to Dusk. But I can't get the value right. Is there an another approach towards this? Or Do I need to explain even further in details just for the problem that I'm currently facing to be quite clear?