YesNoOk
avatar

Coding an attack (Read 325 times)

Started by Tylerr, December 08, 2012, 05:35:56 pm
Share this topic:
Coding an attack
#1  December 08, 2012, 05:35:56 pm
  • avatar
  • *
Re: Coding an attack
#2  December 08, 2012, 05:39:33 pm
  • ***
  • "I am all that is touched by none."
    • USA
Thats...not quite how this works man.
Re: Coding an attack
#3  December 08, 2012, 05:50:28 pm
  • avatar
  • *
I just need to know how to make it rotate and become bigger and stuff.
Re: Coding an attack
#4  December 08, 2012, 06:14:49 pm
  • **
  • NvP!
Code:
[State 0]
type = AngleDraw
trigger1 = 1
value = (time*90) ; this will make it rotate
scale = 0+(time*.1), 0+(time*.1) ; this line will make it bigger
u can ofc change the numbers..
Re: Coding an attack
#5  December 08, 2012, 07:21:05 pm
  • avatar
  • *
That seems to make my character sprite do it and not the projectile.
Re: Coding an attack
#6  December 08, 2012, 07:32:12 pm
  • **
  • NvP!
yooo man.. U should have post ur code here.. lol anyways this angledraw code is for the state of ur helper
Re: Coding an attack
#7  December 08, 2012, 08:45:37 pm
  • avatar
  • *
So it can't be used in a projectile?
Re: Coding an attack
#8  December 08, 2012, 09:00:52 pm
  • ****
    • Skype - DaInfinite
    • infiniteff.forumotion.com/
Re: Coding an attack
#9  December 09, 2012, 04:22:14 am
  • *****
  • Video Game Veteran
    • USA
    • gcnmario.free.fr
Code the projectile as a helper type. THEN you can do whatever you want with the projectile. You won't be limited to projectiles code limits this way. So of course, you will need to place the angledraw code in your helper type projectile to give the desired effect.

"You must defeat my flaming
dragon punch to stand a chance."
Re: Coding an attack
#10  December 09, 2012, 08:00:57 pm
  • avatar
  • *
Hmm, so how would i make these effects turn into the white circling wind type thing? I think its just the first one where it says resize and rotate with transparency.

Last Edit: December 09, 2012, 08:06:44 pm by Tylerr
Re: Coding an attack
#11  December 09, 2012, 10:03:58 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Angledraw still. Give it a scale and a rotational angle and it'll do what you want... Mostly.

Use type = Trans as well to make sure it's see throughish.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Coding an attack
#12  December 09, 2012, 11:02:39 pm
  • avatar
  • *
Yeah but do you have any clue as to what value? I cant seem to get it to even remotely resemble what happens in the game.
Re: Coding an attack
#13  December 09, 2012, 11:45:49 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
No. Experiment. You probably cannot do an italic shape however because of how it works.

Basically, try it, try some more, see how close you can get.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.