| Welcome to Brackenwood. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Rocket Exhaust as an AS; What am I doing?... | |
|---|---|
| Tweet Topic Started: Feb 20 2006, 10:04 AM (197 Views) | |
| hoffie_hoff | Feb 20 2006, 10:04 AM Post #1 |
![]()
°o° -_- ⁿôⁿ
|
Alright, so I'm going to try to explain what I want as best as I can, So I have a rocket and a graphic/movie clip w/e of the smoke appearing then dissapating, what I want the action script to do is place the smoke directly behind the rockets current position, leave it there and repeat, this way, I can tween the rocket and not have to worry about creating each smoke effect individualy, thereby keeping a low file size and workload. Also realize I don't know anything about action scripting so anything you tell me will be helpful. |
![]() |
|
| smoscar_01 | Feb 20 2006, 10:29 AM Post #2 |
|
Mid-Level ActionScripter
|
how did you created your smoke? could you post an example? |
![]() |
|
| hoffie_hoff | Feb 20 2006, 11:23 AM Post #3 |
![]()
°o° -_- ⁿôⁿ
|
Rough thing Whipped this up in a minute or two, obvious problems include lag, awkward spacing, and repeating graphics, all of which would be a pain to fix by hand but with the help of clever action scripting *cough*Vector*cough* I believe they could be avoided. |
![]() |
|
| smoscar_01 | Feb 20 2006, 12:34 PM Post #4 |
|
Mid-Level ActionScripter
|
ooh now I get what you wanted
:lol: ok heres an easy way to do it:
that goes at the animation frames, ooh and c1 and c2 are two constant values for you to manage the exact position of the exhaust and val is another constant to manage the max number of smoke objects :lol: |
![]() |
|
| hoffie_hoff | Feb 20 2006, 02:06 PM Post #5 |
![]()
°o° -_- ⁿôⁿ
|
Woah, that's insanely helpful! Thanks man! |
![]() |
|
| smoscar_01 | Feb 21 2006, 05:41 AM Post #6 |
|
Mid-Level ActionScripter
|
your welcome, its nice that it worked for you :lol: |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Actionscript · Next Topic » |







5:11 AM Jul 12