YesNoOk
avatar

Increase the size of a explod over time (Read 866 times)

Started by QuickFist, September 27, 2013, 09:31:17 pm
Share this topic:
Increase the size of a explod over time
#1  September 27, 2013, 09:31:17 pm
  • *****
    • Venezuela
    • Blacksight22@Yahoo.Com.Ve
    • Skype - sebastian.osio
I want to increase the size of a explod using a ModifyExplod, but the change seems too abrupt, what Trigger could I use to make the change smoother?
Thanks Watta for the sig and avi.
Re: Increase the size of a explod over time
#2  September 27, 2013, 10:02:33 pm
  • *****
  • Video Game Veteran
    • USA
    • gcnmario.free.fr
I had the same problem a few days ago, except it was scaling an opponent, and it was shrinking instead of growing.

ModifyExplod, then scale = #x, #y.

Use a smaller number for a slower scale. Examples like 0.025 * time, or 0.009 * time, etc. You kind of have to experiment with it.

Here's an example I used to scale my explod smaller.

Code:
scale = 1.5-(0.0025*(Time-100)), 1.5-(0.0025*(Time-100))

"You must defeat my flaming
dragon punch to stand a chance."
Re: Increase the size of a explod over time
#3  September 27, 2013, 10:33:59 pm
  • *****
    • Venezuela
    • Blacksight22@Yahoo.Com.Ve
    • Skype - sebastian.osio
I'm sorry but I can't really understand you.
Could you post the code?
Thanks Watta for the sig and avi.
Re: Increase the size of a explod over time
#4  September 27, 2013, 10:45:46 pm
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/
He posted a relevant sample of the code.

Basically, you use modifyexplod with
Code:
trigger=time=[start,end]
scale= 1 + (time-start) , 1 + (time-start)
"time-start" is to ensure the transition is smooth.
Of course, this is to be modified depending on if you want the explod to grow or shrink, and how fast you want the explod to change size.
Re: Increase the size of a explod over time
#5  September 27, 2013, 10:58:18 pm
  • *****
    • Venezuela
    • Blacksight22@Yahoo.Com.Ve
    • Skype - sebastian.osio
Thanks guys
Thanks Watta for the sig and avi.