YesNoOk
avatar

Striker How-to. (Read 718 times)

Started by BeanBean, November 19, 2007, 11:42:35 pm
Share this topic:

BeanBean

Striker How-to.
#1  November 19, 2007, 11:42:35 pm
I was just wondering if anyone knew how to code a striker...
Also, How would you code the striker so it go from part of the screen to the next?

Any Help is appreciated! ;D
Re: Striker How-to.
#2  November 19, 2007, 11:52:26 pm
  • ******
Create a helper, give it a state to start at where he is created outside of the screen and jumps in, make it do whatever you want, then jump out and destroyself when he's offscreen.
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.

BeanBean

Re: Striker How-to.
#3  November 20, 2007, 11:31:27 pm
How exactly do I create the helper? (Ive tried it like 10 times! ;P)

Also, how do I make an animation of the character when the striker comes?
Re: Striker How-to.
#4  November 20, 2007, 11:37:57 pm
  • *****
  • You know it!
    • viewtiful9.blog124.fc2.com/
[StateDef ****]
type = S
movetype= I
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = **** <-Summon Animation
poweradd = 0
sprpriority = 2

[State 0, Helper]
type = Helper
trigger1 = AnimElem = 3
helpertype = normal ;player
name = "help"
ID = ****
stateno = **** <-Helperstate
pos = 0,0 <-Helpers Postion
postype = p1    ;p2,front,back,left,right
facing = 1
keyctrl = 0
ownpal = 0

[State ****, ]
type = ChangeState
trigger1 = Animtime = 0
value = 0
ctrl = 1
WOO! WOO! WOO!
PSN / XBLA - ViewtifulSuxx
Re: Striker How-to.
#5  November 20, 2007, 11:43:00 pm
  • ******
Well you could try to learn about general cns structure before going into details like helpers.
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.

BeanBean

Re: Striker How-to.
#6  November 21, 2007, 03:13:32 am
[StateDef ****]
type = S
movetype= I
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = **** <-Summon Animation
poweradd = 0
sprpriority = 2

[State 0, Helper]
type = Helper
trigger1 = AnimElem = 3
helpertype = normal ;player
name = "help"
ID = ****
stateno = **** <-Helperstate
pos = 0,0 <-Helpers Postion
postype = p1    ;p2,front,back,left,right
facing = 1
keyctrl = 0
ownpal = 0

[State ****, ]
type = ChangeState
trigger1 = Animtime = 0
value = 0
ctrl = 1

To make the helper attack, do I just add a hitdef?
Re: Striker How-to.
#7  November 21, 2007, 03:16:39 am
  • *****
  • You know it!
    • viewtiful9.blog124.fc2.com/
Create another state with a hitdef and destroyself instead of changestate.
Well it depends on what your trying to do.
WOO! WOO! WOO!
PSN / XBLA - ViewtifulSuxx

BeanBean

Re: Striker How-to.
#8  November 21, 2007, 08:10:55 pm
Im trying to make a poppa rocks striker. I need him to move from one part of the screen to the next, damaging anyone he hits...(I have the sprites and animations all ready)
Re: Striker How-to.
#9  November 21, 2007, 08:14:27 pm
  • *****
  • You know it!
    • viewtiful9.blog124.fc2.com/
WOO! WOO! WOO!
PSN / XBLA - ViewtifulSuxx