Colorful fonts?
- ozdy
-
ozdy
- Member since: Apr. 22, 2006
- Offline.
-
- Forum Stats
- Member
- Level 04
- Blank Slate
Hello NGers,
I would like to know whether you can advise me on how I can make colorful fonts (fonts composed of more than one color). A good example is Mushroom Tower Defense. The font used throughout the game (based on comic sans I think) has two distinct colors, and somehow you can change both of them independently via function calls.
Has any of you an idea how it is done?
Best,
Ozdy
- Denvish
-
Denvish
- Member since: Apr. 25, 2003
- Offline.
-
- Send Private Message
- Browse All Posts (15,977)
- Block
-
- Forum Stats
- Member
- Level 46
- Blank Slate
At 2/10/09 03:56 AM, ozdy wrote: Hello NGers,
I would like to know whether you can advise me on how I can make colorful fonts (fonts composed of more than one color). A good example is Mushroom Tower Defense. The font used throughout the game (based on comic sans I think) has two distinct colors, and somehow you can change both of them independently via function calls.
Has any of you an idea how it is done?
Best,
Ozdy
The outside colour is a glow filter (search GlowFilter in the Flash help files on how to change this dynamically via AS). The actually (inside) text colour can also be changed dynamically by using setTextFormat & TextFormat.color


