HOME | DD

Published: 2006-09-14 05:45:17 +0000 UTC; Views: 2066; Favourites: 2; Downloads: 547
Redirect to original
Description
The source .FLA for my Destructible Terrain EngineIf you use it, it would be nice to credit me, or include a link to this file, or my deviantArt page...
I hope you like it. Cheers
__________________________
Disclaimer
This work is not in the public domain. This work is copyright © ~ArtBIT 2005-2006. All rights reserved.
You may not use and/or reproduce my artwork in any way without my explicit and written permission.
Related content
Comments: 30
JohnJensen [2009-11-15 14:05:02 +0000 UTC]
Wow, I only thought you could do this with BitmapData.
But I guess BitmapData is faster though... >_> xD
👍: 0 ⏩: 1
ArtBIT In reply to JohnJensen [2009-11-16 12:38:02 +0000 UTC]
Heh, yeah, but I don't think I had Flash8 at that time...
👍: 0 ⏩: 1
ArtBIT In reply to JohnJensen [2009-11-20 22:19:38 +0000 UTC]
Ghost thingy?
What ghost thingy?
👍: 0 ⏩: 1
JohnJensen In reply to ArtBIT [2009-11-22 15:05:12 +0000 UTC]
The one that's trying to eat my mouse.
👍: 0 ⏩: 1
ArtBIT In reply to JohnJensen [2009-11-23 21:59:02 +0000 UTC]
I wouldn't know anything about mouse chasing ghosts
👍: 0 ⏩: 1
JohnJensen In reply to ArtBIT [2009-11-23 22:42:44 +0000 UTC]
Btw can you ban people? Like, since you're an admin.
👍: 0 ⏩: 1
ArtBIT In reply to JohnJensen [2009-11-24 03:31:48 +0000 UTC]
No, I'm a developer. I code stuff.
👍: 0 ⏩: 1
JohnJensen In reply to ArtBIT [2009-11-24 11:28:12 +0000 UTC]
Me too. Why do you have a $ then?
👍: 0 ⏩: 1
ArtBIT In reply to JohnJensen [2009-11-26 03:48:04 +0000 UTC]
Because I code stuff for deviantART
👍: 0 ⏩: 1
ArtBIT In reply to JohnJensen [2009-11-27 18:31:34 +0000 UTC]
I work for deviantArt for some time now, so I've been working on lots of projects. The only solo project worth mentioning is SitBack slideshow.
👍: 0 ⏩: 0
Ravmaster [2006-09-23 09:29:34 +0000 UTC]
great work almost like a worms game without the worms
👍: 0 ⏩: 1
ArtBIT In reply to Ravmaster [2006-09-23 09:56:18 +0000 UTC]
Thanks but it's VERY far away from the Worms game
👍: 0 ⏩: 1
Ravmaster In reply to ArtBIT [2006-09-23 11:00:28 +0000 UTC]
lol yeah it would be hard but who knows
👍: 0 ⏩: 1
ArtBIT In reply to Ravmaster [2006-09-23 11:15:26 +0000 UTC]
I was thinking of doing the Snails! version of it
👍: 0 ⏩: 1
ArtBIT In reply to shyboy-studios [2006-09-16 17:18:52 +0000 UTC]
well, not quite... people don't seem to like it
👍: 0 ⏩: 1
shyboy-studios In reply to ArtBIT [2006-09-19 23:08:06 +0000 UTC]
but the fact that you were able give it to them anyway they should be happy about it nonetheless. i thnk they should be greatful
👍: 0 ⏩: 0
ArtBIT In reply to Formor [2006-09-15 20:09:23 +0000 UTC]
Lol what's strange? Have you clicked to drop the bombs?
👍: 0 ⏩: 1
Formor In reply to ArtBIT [2006-09-16 12:23:46 +0000 UTC]
Yeah, but it looks like the ground is blowing up!
👍: 0 ⏩: 0
fudging [2006-09-14 16:23:08 +0000 UTC]
I should get flash 8 simply to get these files... I wish there was an autoconverter or something.
👍: 0 ⏩: 1
ArtBIT In reply to fudging [2006-09-14 16:31:10 +0000 UTC]
Well, I think that blendMode is not available in flashMX flashMX2004, end that's what I used to simulate teh erasing...
👍: 0 ⏩: 1
fudging In reply to ArtBIT [2006-09-15 16:16:38 +0000 UTC]
I can't find blendmode in the actionscript dictionary for it, so I'll just have to find out how to do the bomb effect through those games that were out before flash 8 with it. At least I'm not in direct need of it
👍: 0 ⏩: 1
ArtBIT In reply to fudging [2006-09-15 16:31:46 +0000 UTC]
I believe it was done, by painting over the surface... I did something similar, but I've erased the area that I painted...
You make one mc, a black rectangle that will fill up the scene area.
Above it, you make another, that'll fill up the upper half of the scene area, and that'll represent the sky.
You drop the bomb, only if the mouse is over the sky ( mcSky.hitTest(_xmouse,_ymouse,true), then you constantly increase the bomb._y and check for the coliision with the sky (isFalling = mcSky.hitTest(bomb._x,bomb._y,true); // check only the center for collision) if isFalling==true the bomb is over the sky area, and if isFalling==false, the bomb has left the sky area, and it hit the ground:
drawCircle(targetMC:mcSky, CenterX:bomb._x,CenterY:bomb._y,radius:20); this way the mcSky area grows, and you get the same effect...
The only advantage of the blendMode="erase" is that you can have a complex background (bitmap, another mc...), and with this method you just have only one colour bg.
You can achieve something similar by using the mcBG on top of the other layers, and then use mcSky as a mask for it
👍: 0 ⏩: 1
fudging In reply to ArtBIT [2006-09-15 17:06:57 +0000 UTC]
Thanks for helping, good method there I may just try it out
👍: 0 ⏩: 0
little-teenager-sam [2006-09-14 12:09:56 +0000 UTC]
no artwork!!!!??? all coded? you're an actionScript genius man. seriously.
👍: 0 ⏩: 1
ArtBIT In reply to little-teenager-sam [2006-09-14 16:15:03 +0000 UTC]
Well, the text and my logo are premade ^^
I coded the textboxes too, but it made the code look more complicated... so I've decided against it
👍: 0 ⏩: 0