Neo_Fire_Sonic Posted December 18, 2014 Share Posted December 18, 2014 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 More sharing options...
0 llyyr Posted December 26, 2014 Share Posted December 26, 2014 Then just add more negative value. Assuming by "still in front" you meant he's at least moving. Link to comment Share on other sites More sharing options...
0 Ryon Posted December 21, 2014 Share Posted December 21, 2014 a posset code , with a good trigger. position X would be something like x = enemy, pos x - 50 Link to comment Share on other sites More sharing options...
0 Neo_Fire_Sonic Posted December 24, 2014 Author Share Posted December 24, 2014 the character still doesn't appear behind the opponent after the knockback..... Link to comment Share on other sites More sharing options...
0 llyyr Posted December 25, 2014 Share Posted December 25, 2014 What's your code? Did you set the Posset's x value to enemy, pos x -50? Link to comment Share on other sites More sharing options...
0 Neo_Fire_Sonic Posted December 25, 2014 Author Share Posted December 25, 2014 What's your code? Did you set the Posset's x value to enemy, pos x -50? when i set it to that, he is still in front of the opponent Link to comment Share on other sites More sharing options...
0 NotAGoodName Posted December 26, 2014 Share Posted December 26, 2014 That's because you don't want negative. Behind the opponent is further in his direction. You need to change your pos x to something like (enemy, pos + (50*facing)) Link to comment Share on other sites More sharing options...
0 Neo_Fire_Sonic Posted December 26, 2014 Author Share Posted December 26, 2014 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 More sharing options...
Question
Neo_Fire_Sonic
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
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 accountSign in
Already have an account? Sign in here.
Sign In Now