Be a Supporter!

Colorful fonts?

  • 320 Views
  • 1 Reply
New Topic Respond to this Topic
ozdy
ozdy
  • Member since: Apr. 22, 2006
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Colorful fonts? 2009-02-10 03:56:01 Reply

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.
Forum Stats
Member
Level 46
Blank Slate
Response to Colorful fonts? 2009-02-10 04:05:28 Reply

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


- - Flash - Music - Images - -

BBS Signature