1. Hey! Guest! The 34th GMC Jam will take place between August 22nd, 12:00 UTC (Thursday noon) and August 26th, 12:00 UTC (Monday noon). Why not join in! Click here to find out more!
    Dismiss Notice

Design World map designed - How to implement???

Discussion in 'Game Design, Development And Publishing' started by HawtTrash, Dec 31, 2018.

  1. HawtTrash

    HawtTrash Member

    Joined:
    Nov 21, 2018
    Posts:
    2
    Hello all,

    I am making a game similar to SMW (Super Mario World). It will have a "world map" screen after each level where you can choose your path and even backtrack if you want.

    I have my world map designed far enough where I want to start putting it into the game and doing some coding on it. However, if I was to save the image out it would be HUGE. Should I break the image into sections and create several background layers that basically stitch the image together? Or is there a better way to accomplish this.

    Thanks in advance for any help!!
     

    Attached Files:

    Last edited: Dec 31, 2018
  2. Rob

    Rob Member

    Joined:
    Jul 12, 2016
    Posts:
    677
    How about using a view that only shows a portion of the map at one time? Or did I misunderstand the question.
     
  3. HawtTrash

    HawtTrash Member

    Joined:
    Nov 21, 2018
    Posts:
    2
    Right now my view port is 1920x1080. The map right now could fit roughly 6-8 1920x1080 view ports in it, so it's a HUGE image. I guess I imagined if I save out that huge of an image it could would not be efficient to have one image that big as the background. I thought it might take up too much computing to display it when walking around over the top of it, if that makes sense.

    I guess my original solution was going to break it into several different images, make each image as a background layer, and then x or y offset them to look stitched together. I wasn't sure if that would be considered best practice or not?
     
  4. Rob

    Rob Member

    Joined:
    Jul 12, 2016
    Posts:
    677
    Why would you need to stitch them together if you're using a view to follow the player around a map?
     
  5. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    4,327
    I would suggest splitting it into screen-sized tiles and then arranging them onto a tile layer. Make sure that your texture page size is set to at least 2048x2048 to accommodate them.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice