Be a Supporter!

explosion like lemmings

  • 236 Views
  • 1 Reply
New Topic Respond to this Topic
LostVoices
LostVoices
  • Member since: Mar. 9, 2006
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
explosion like lemmings 2011-03-26 03:12:34 Reply

Hey guys,

is it possible to draw something in the background in flash and if there is an explosion it damages the mackground aswell like puts a hole in it.. similiar to like when a lemming blows up or in the game worms when you shoot through the background..
if so what do need to look at or reasearch to accomplish this

thanks

im using AS3 if thats needed


awww

Tygerman
Tygerman
  • Member since: Aug. 16, 2003
  • Offline.
Forum Stats
Member
Level 17
Blank Slate
Response to explosion like lemmings 2011-03-26 12:39:17 Reply

I think the easiest way to do that would be to create a mask in the shape of the explosion on the background image in the same co-ordinate as the thing that exploded.

This should allow the part that is covered by the mask to become transparent and look as though a chunk of the background is gone.

So I suggest researching masks and how to implement them


BBS Signature