Zenor Posted March 15, 2008 Report Share Posted March 15, 2008 I don't know how to get it working properly. EDIT: It seems i have the same problem doing slopes. Can someone help me(there are no collision events there, too)? (See attached file) XX.mfa Link to comment Share on other sites More sharing options...
Zenor Posted March 16, 2008 Author Report Share Posted March 16, 2008 ...Anyone? Link to comment Share on other sites More sharing options...
Forever Posted March 16, 2008 Report Share Posted March 16, 2008 I don't know how to get it working properly.EDIT: It seems i have the same problem doing slopes. Can someone help me(there are no collision events there, too)? (See attached file) Dunno if this will help but.... XX.mfa Link to comment Share on other sites More sharing options...
LarkSS Posted March 16, 2008 Report Share Posted March 16, 2008 Is this what you want? XXXX.mfa Link to comment Share on other sites More sharing options...
Zenor Posted March 16, 2008 Author Report Share Posted March 16, 2008 Is this what you want? Exactly. But, is there another way than setting his "XX" to his actual X position? Link to comment Share on other sites More sharing options...
LarkSS Posted March 17, 2008 Report Share Posted March 17, 2008 Well I could just change the XX value by adding or subtracting 1 just like with the real position, but that's not necessary since when you push out of the wall, your position should be equal with the edge of the wall's position ( plus or minus some if you're to the left or right of the wall ) and that'll mean that your position should be an integer, so the decimal value of the XX doesn't need to be remembered; in fact, I wouldn't recommend remembering it at all after a wall collision. That's why I set it to the real X position anyhow. =/ Link to comment Share on other sites More sharing options...
Recommended Posts