YesNoOk
avatar

changing the angle of shinku hadouken (Read 787 times)

Started by bonizuka, January 02, 2008, 10:43:03 pm
Share this topic:
changing the angle of shinku hadouken
#1  January 02, 2008, 10:43:03 pm
  • avatar
  • **
is it posible to change the angle of projectile (shinku hadouken) from tradition   like this " / " position  without adding the new sprite?
Last Edit: January 02, 2008, 10:55:03 pm by bonizuka
Re: changing the angle of shinku hadouken
#2  January 02, 2008, 10:58:18 pm
  • ******
[mcode]type = AngleDraw[/mcode](Click on it.)
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Re: changing the angle of shinku hadouken
#3  January 02, 2008, 11:17:41 pm
  • avatar
  • **
i used that before but the player change his position not the projectile.
it only affects on player.
hehehe...sorry im just a newbie.
Re: changing the angle of shinku hadouken
#4  January 02, 2008, 11:41:21 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
angledraw requires the projectile to be a helper.

If it's not a helper and is in fact, a projectile.

Extract the sprites. Use something to rotate them (they'll look ugly) Reinsert them and recode everything.


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: changing the angle of shinku hadouken
#5  January 02, 2008, 11:54:24 pm
  • avatar
  • **
angledraw requires the projectile to be a helper.

If it's not a helper and is in fact, a projectile.

Extract the sprites. Use something to rotate them (they'll look ugly) Reinsert them and recode everything.
thats true im using projectile,
if i do that im going to  have two sprites the one is the original and the othe rone is the new rotate sprite which makes the  character sprite more bigger size (mb).
Re: changing the angle of shinku hadouken
#6  January 03, 2008, 12:07:13 am
  • ******
Then make it a helper instead because there's no other way.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Re: changing the angle of shinku hadouken
#7  January 03, 2008, 12:43:27 am
  • avatar
  • **
Then make it a helper instead because there's no other way.
thank you 2,i'll do that but i need to know more about this helper and i think i have to read some example of this kind of helpers.
Re: changing the angle of shinku hadouken
#8  January 03, 2008, 01:18:31 am
  • ******
1- Create a statedef
2- Have it use the fireball animation and give it proper velocities
3- Give it the same hitdef as your projectile
4- Add the AngleDraw
5- Don't forget to make the helper hittable only by projectiles, and have a [mcode]type = HitOverRide
trigger1 = 1[/mcode]redirecting to the same state
6- Count the number of hits dealt in a variable, and also count the number of times the fireball itself gets hit (see previous point)
7- Have the state change to a "fireball end" statedef when all the hits are dealt or when the fireball goes offscreen
8- Add a [mcode]type = DestroySelf
trigger1 = !AnimTime[/mcode]at the end of that second statedef
9- Finally, in your character's main state (firing the fireball), create a [mcode]type = helper[/mcode]that calls that statedef
10- note that 5 & 6 are only useful if the fireball deals multiple hits. For only one hit, do make the fireball hittable only by projectiles, but just have the hitoverride immediately redirect to the "fireball end" state. No need to count the hits.
You're done.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Last Edit: January 03, 2008, 01:26:54 am by Baiken
Re: changing the angle of shinku hadouken
#9  January 06, 2008, 02:47:03 am
  • avatar
  • **
it looks different than my previews work.
thanks,ill try this.