Okay, so I own a couple of maps I generated with worldspinner.com. I would very much love to convert it into a 2D, zelda-style game world. Is there a program that could do that? Like, one that will place assets based on the map colors? (Blue for water, brown for dirt, green for grass, etc.) It’d be so neat to have a world made like that to place buildings and stuff in.
1 Answer
1You could try using tilemaps, and just reading the pixel data yourself in Unity.
Foreach pixel in the image, check its color and use an appropriate tile to match that color. Set the tile at the pixel position, and you should get your image.
Try using the Texture2D.GetPixel(int x, int y) method, and using two for loops to read the data.
This is an interesting idea. I might just try that. Thanks!
– D_P_Bailey