« Game Release - Robots vs Zombies [iOS]Code sharing: CPMStar tool »

Code sharing: Filters - Bright, Saturation, Hue

25/09/11

Permalink 00:46:30, by Badim Email , 92 words   Russian (RU)
Categories: flash games contest

Code sharing: Filters - Bright, Saturation, Hue

If someone is looking for easy way to use class for filters - Bright, Saturation, Hue, here are my adaptation.

Very easy to use:
import badim.CFilters;
CFilters.getHueFilter(180) - returns Hue filter with angle 180 and cache it. So requesting that filter again will be instant. But pay attention if you are going to animate via filter properties then you will have to make a copy of it first. But I usually always animating via filter instances - they already cached anyway =)

Showcase - you can see my game - Red Storm:

Trackback address for this post

This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

4 comments

Comment from: jeux d'argent [Visitor] · http://www.jeuxdargentgratuit.net
*****
Thanks for tips !
2011-10-14 @ 12:18
Comment from: dddf [Visitor] · http://www.mesosmaplestory.com
very good, I like !!
2011-11-01 @ 06:29
Comment from: Microsoft Office [Visitor] · http://www.official2007.com/
***--
it also uses OneNote 2010 to keep project Microsoft Office2010content stored on SharePoint organized. Team members have seen arealproductivityboostwiththeimproved
2012-05-03 @ 06:24
Comment from: Omaha Real Estate [Visitor] · http://www.omaharealestatetoday.com
*****

Omaha surprises most first-time visitors with its hills. Just across the Missouri River from Council Bluffs, Iowa, Omaha does not live up to Nebraska's generally deserved reputation for flat landscapes. This unexpected topography definitely adds to the city's beauty.
2012-05-04 @ 16:28

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)
May 2012
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Search

Protect your SWF Files

XML Feeds

Last Comments

powered by b2evolution free blog software