Creating our game's map

Moving on from theory, we need to look at something to put on our map of the world, such as somewhere for our player to travel to and explore.

We not only need to provide graphical support in the game to open up areas on the map or just show the journey between two points, but we also need to connect these points with scenes in our game.

Adding the world map

Start off by copying the following map image into your project in the Assets\Sprites\Environment folder:

Adding the world map

I created the preceding map image very quickly using the Hexagon Pack provided by Kenny on opengameart.org found at http://opengameart.org/content/hexagon-pack-310x ...

Get Mastering Unity 2D Game Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.