Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Rotating Sun/Star Effect

edited February 2012 in Code Sharing Posts: 65

Hi,

As promised, here's the code for the rotating sun I've just added to my current game: https://gist.github.com/1848637

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: http://twolivesleft.com/Codea/Talk/discussion/644/flicker-drawing-large-images-any-advices/p1

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

Cheers

Sign In or Register to comment.