Announcement

Collapse
No announcement yet.

Boating World Wrap Question

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Boating World Wrap Question

    So I am looking for method ideas of how to wrap the map to another map, instead of the same map. in essence I want to create a seemingly larger appearing world by connecting ocean areas of one map to areas of another map. In the baseboat.cs, below is the current method used.

    private static Rectangle2D[] m_BritWrap = new Rectangle2D[]{ new Rectangle2D( 16, 16, 5120 - 32, 4096 - 32 ), new Rectangle2D( 5136, 2320, 992, 1760 ) };
    private static Rectangle2D[] m_IlshWrap = new Rectangle2D[]{ new Rectangle2D( 16, 16, 2304 - 32, 1600 - 32 ) };
    private static Rectangle2D[] m_TokunoWrap = new Rectangle2D[] { new Rectangle2D( 16, 16, 1448 - 32, 1448 - 32 ) };

    So I am not a professional when it comes to coding but I'm not a beginner as well. This however seems at the moment above my pay grade. lol. So I am looking for ideas of how to change this so that I can travel from one map to another while on a boat.
Working...
X