YesNoOk
avatar

help wanted... (Read 245 times)

Started by dark byakuya, July 11, 2010, 10:25:09 pm
Share this topic:
help wanted...
#1  July 11, 2010, 10:25:09 pm
  • **
  • O.O!!!! おまえわアルファですか?
    • USA
i was wondering how make p2 spin like the touhou chars 
when they  get hit by an attack
Oh no alpha is gonna blooow!! EVERYONE PANIC!!!!!!!!!!

2OS

Re: help wanted...
#2  July 12, 2010, 04:14:39 am
  • ****
  • Ich schicke dich zur HOELLE ! ¡ ! ¡
    • Egypt
    • deuceovspadez.webs.com/
Never looked at their coding but I'm 99.99 % certain it's a custom p2 state with Sctrl "AngleDraw" + "AngleAdd"


Detailed Reference on what the controllers do — http://www.elecbyte.com/mugendocs/sctrls.html#angleadd [ angledraw is right underneath ]

Example —

[State DeUcEoVsPaDeZ]
type=angledraw
trigger1=helper(2222222),stateno!=2501 ; Set your conditions here
value=360
ignorehitpause=1
persistent=1
pausemovetime=9999999
supermovetime=9999999
[State DeUcEoVsPaDeZ]
type=angleadd
trigger1=helper(2222222),stateno!=2501 ; Set your conditions here
value=9*time ; The higher the value, the faster the spin
ignorehitpause=1
persistent=1
pausemovetime=9999999
supermovetime=9999999

The p2 state traditionally has changeanim2, so when / if you make a p2state, make an anim in your own file that uses a common gethit sprite [ group 5000 - 5150 ], set your changeanim2 to change to that, add some velocities accordingly, possibly a selfstate [ pends on your conditions / what your aiming to do ], and voila, you've got a SPINNNNNNNNNNNNNNNNNNNNNNNNNY custom state for your foez


[ 052012 ] Inazumachi 181/256  /  deviantART   /  2OS Grafphicsxz  Dead Anims ( Orochi/Mizuchi )  /  608's FX Volume 3
Re: help wanted...
#3  July 12, 2010, 04:21:51 am
  • **
  • O.O!!!! おまえわアルファですか?
    • USA
thanks a bunch!
Oh no alpha is gonna blooow!! EVERYONE PANIC!!!!!!!!!!