| « Game Release - Robots vs Zombies [iOS] | Code sharing: CPMStar tool » |
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:
