Apr 12, 2013

Random flicker code!

Flickering is simple enough and this code just overcomplicates it, but if you're looking for a less uniform flicker, you can try this out:

scale = 1;
resize = 1/3;


image_xscale = abs(scale)& 1;
image_yscale = abs(scale)& 1;
scale += resize;
resize += (-scale)/3;


I don't plan on using this ever, but I thought it was a nifty (albeit subtle) effect.

No comments:

Post a Comment

©TheouAegis Productions™. Powered by Blogger.