Jump to content
A 2021 backup has been restored. Forums are closed and work in progress. Join our Discord server for more updates! ×
SoaH City Message Board

Collisions


Zenor

Recommended Posts

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...