Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
x and y offsets
#6
It's pretty much the same for players as enemies. When the player doesnt move, .XOffset and .YOffset both equals 0. When you first press the arrow button, either the X or Y becomes 32 and decreases towards 0 as the player is being moved.

You dont really know exactly how it works, its just important to know that you need it in order to make the player walk smoothly.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)