Jump to content
  • 0

help with making a code


Question

Posted

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

 pAAf1k5.pngRSQGnkI.png

-play gaem, gaem iz kul

7 answers to this question

Recommended Posts

  • 0
Posted

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

 pAAf1k5.pngRSQGnkI.png

-play gaem, gaem iz kul

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...