Neo_Fire_Sonic Posted December 18, 2014 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 -play gaem, gaem iz kul
0 lyr Posted December 26, 2014 Posted December 26, 2014 Then just add more negative value. Assuming by "still in front" you meant he's at least moving.
0 Ryon Posted December 21, 2014 Posted December 21, 2014 a posset code , with a good trigger. position X would be something like x = enemy, pos x - 50 - Characters - / - Stages - / - Screenpacks - / - Lifebars - / - Fonts - / - Full Games - / - Templates -
0 Neo_Fire_Sonic Posted December 24, 2014 Author Posted December 24, 2014 the character still doesn't appear behind the opponent after the knockback..... -play gaem, gaem iz kul
0 lyr Posted December 25, 2014 Posted December 25, 2014 What's your code? Did you set the Posset's x value to enemy, pos x -50?
0 Neo_Fire_Sonic Posted December 25, 2014 Author 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 -play gaem, gaem iz kul
0 NotAGoodName Posted December 26, 2014 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))
0 Neo_Fire_Sonic Posted December 26, 2014 Author 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 -play gaem, gaem iz kul
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
-play gaem, gaem iz kul
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