So my game Separation Anxiety came out last week, and a couple of people were wondering how I managed the visual effects. So I wrote a post about it.
NOTE: this post is very technical, and possibly too much for beginners (although I encourage anyone who's curious to take a look). If you don't understand something, please ask! I'd rather you understand my code than just copy-paste it.
NOTE 2: I very strongly recommend you play my game before reading the post. You don't have to finish it, but you should see how some of these effects look in action; static screenshots don't do them justice.
Short answer: punk.fx
Long answer: see blog post
If you have any questions or comments, you're free to comment on the blog post itself, or you can reply here. Either way, I'll try to address your comment.