Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MS4
#19
I know this is really friggin' simple to do, but would changing all of the Position X and Y values on stuff like Players, Tiles, and MapItems, ETC to Point types work any better?

Example
Code:
Private Type PlayerRec
*
*
*
    ' Position
    Map As Integer
    x As Byte
    y As Byte
    Dir As Byte
End Type

To
Code:
Private Type PlayerRec
*
*
*
    ' Position
    Map As Integer
    Pos as Point
    Dir As Byte
End Type

Albiet this might work better if all of the types were put into a class.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)