Saturday, January 5, 2013

Adding locations and links

The current world contains a texture with the world map and a set of regions in the land area of the world. The regions know which ones are their neighbours.
As a next step I have added one location per region somewhere randomly in the region and added a link between each location in neigbouring regions.
The small blue capsule represents the player's party for now.

You can see the results in the images. Some outstanding issues with current system:

  1. Selecting a random pixel from a region make the location often close to the edges of the regions.
  2. Probably a bit to much links between the locations
  3. The links are drawn using the LineRenderer in Unity, but this needs a draw call for each one of them.

No comments:

Post a Comment