Be a Supporter!

Duplicate Mc Within Mc?

  • 163 Views
  • 0 Replies
New Topic Respond to this Topic
cdjproductions
cdjproductions
  • Member since: Jul. 2, 2010
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Duplicate Mc Within Mc? 2011-07-16 09:05:12 Reply

So I'm trying something new out. Instead of having, say, one explosion animation for something, I want each explosion to be unique. (Don't worry, I can figure out how to do that code myself.) Here's what I thought up in 5 minutes for external control:

1. Set explosion center
2. Duplicate explosion particle MC at center
3. Set rotation direction for each duplicated MC (with a bit of randomness for "error")
4. Set speed randomly between 6 and 10

And this is the MC stuff:

1. Take our rotation and original speed to get out X's and Y's speeds
2. Change x and y
3. Slow our speed down a little
4. If the speed is really low, delete
5. Else, step 1

6. ???
7. Profit!

My main question is, is it better/easier to duplicate the particle MC's within one set explosion MC, or duplicate each particle from the stage? I'm thinking duplicate within one MC, because I'll need multiple explosions, but I'm not sure if it's possible to duplicate MCs within MCs.
Is it possible?


This account is now defunct and will now serve as an alt - _)-UltimateCJ64-(_
Seriously, I'm serious.