YesNoOk
avatar

Small question (Read 251 times)

Started by Trinitronity, June 22, 2013, 10:36:35 am
Share this topic:
Small question
#1  June 22, 2013, 10:36:35 am
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
I don't know, if this belongs there, but does MUGEN has air turning? If yes, which animation number is that?
I'm already aware of idle turning and crouch turning, but I never saw air turning...
I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns
Re: Small question
#2  June 22, 2013, 10:38:33 am
  • ****
  • [MUFFLED ROCK MUSIC PLAYING IN THE DISTANCE]
    • Chile
    • koakoa@jabber.org
I don't know, if this belongs there, but does MUGEN has air turning? If yes, which animation number is that?
I'm already aware of idle turning and crouch turning, but I never saw air turning...

Unless you code it yourself, there's no air turning. Sorry.
Re: Small question
#3  June 22, 2013, 10:44:05 am
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns
Last Edit: June 22, 2013, 10:47:16 am by Trinitronity
Re: Small question
New #4  June 22, 2013, 10:49:31 am
  • ****
  • [MUFFLED ROCK MUSIC PLAYING IN THE DISTANCE]
    • Chile
    • koakoa@jabber.org
How to code that?

For turning it'd have to be this code:

Code:
[State Flip It]
type = Turn
trigger1 = p2dist x < 0

In case you want that with an animation, you could add the following code:

Code:
[State Flip Anim]
type = ChangeAnim
trigger1 = p2dist x < 0
value = ; Turn Anim
[State End of Turn]
type = ChangeAnim
trigger1 = Animtime=0 && anim=;turn anim number
value = ; Falling Anim

[State Flip It]
type = Turn
trigger1 = p2dist x < 0

Keep in mind though, I've never really done this before so I'm not 100% sure if it works, if you want to make attacks face the opponent your safest bet is just to add facep2=1 at the beginning of every air attack statedef.


This all is to be going in a modified state 50
Last Edit: June 22, 2013, 11:00:27 am by Sanae63