Rotating Sun/Star Effect


As promised, here’s the code for the rotating sun I’ve just added to my current game:

The real genius at work here is the CircleMAsk class which is courtesy of Simeon. It’s not very well demonstrated in my example in order to keep the code to the bare minimum, but I’d encourage you to try dropping one of the starfields from the following thread in behind it to see the full effect:

PS: Apologies for the poorly named variables etc. It’s a work in progress :slight_smile: