Be a Supporter!

Torch Effect

  • 316 Views
  • 2 Replies
New Topic Respond to this Topic
Maknib
Maknib
  • Member since: Mar. 21, 2010
  • Offline.
Forum Stats
Member
Level 01
Blank Slate
Torch Effect 2010-08-22 22:30:00 Reply

Not sure if this is for animation or for art.

for a character in a game i want to be able to walk into a dark room and have a torch effect. the only part visible is what the torch is showing.

i know this can be done with a mask but ive seen that with a mask you can either not see the background or you can. i want it to have like a yellow blur effect of what you can see to give it more of a torch light effect. is this possible and if so what would i need to be doing?

thanks

Zachary
Zachary
  • Member since: Aug. 11, 2006
  • Offline.
Forum Stats
Moderator
Level 30
Melancholy
Response to Torch Effect 2010-08-23 02:10:56 Reply

For this i'm guessing it would be easier to code it rather than have a mask itself. I'm not sure if putting the whole thing into a clip then adding the mask would help, but i'm almost 100% positive this effect can be achieved just by using actionscript.

Here is a simple tutorial i found on lighting and i'm sure it can be edited to your likings. I'm not sure what version of actionscript you are using though, but this should give you a rough idea of what you need.

http://www.flashvault.net/tutorial.asp?I D=26


.

BBS Signature
Damien
Damien
  • Member since: Mar. 12, 2006
  • Offline.
Forum Stats
Supporter
Level 30
Artist
Response to Torch Effect 2010-08-25 18:44:28 Reply

Well...It wouldn't be such a bitch to use a mask. Sure AS can do what animation can, but if you don't know how to code you can always put your background in a movieclip, duplicate it change tints on both (dark and lighter), and then mask the part you want to be lit up. Then tween how you feel like!
You can even animate the mask so you can get a "flicker" effect off the torch.

And you can just shade your characters according to the light.

Also, if you want an idea on how to draw the masked area...You can just use two big elips shapes, or draw huge circles.
Should do the trick.

I don't know how to script so I don't know what the advantages to it are.