Jump to content
  • 0

help with making a code


Neo_Fire_Sonic

Question

ok, For what i wanted to do is this

 

during a state, the character appears a few spaces behind the opponent

 

For ex: the character knocks the opponent backwards, then the character appears behind the opponent for another attack

 

How would i go about this? I can't seem to get it so the player character always appears a few spaces behind the character after the knockback

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Then just add more negative value. Assuming by "still in front" you meant he's at least moving.

 

 

[state 0, PosSet]

type = Posset

trigger1 = 1

x = enemy, pos x - -20*facing

y = 0

 

well from what you've said i've tried this (not sure if this is what you meant but this works so thanks )

the good thing is he manages to appear behind the opponent even if there is no more room at the end of the stage's screen

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...