What's the best way to do this for a tile based game while I need smoother hills and such. Would doing diamond square normally between 0 and 1 be good then converting the height over by multiplying...
Type: Posts; User: hobbles
What's the best way to do this for a tile based game while I need smoother hills and such. Would doing diamond square normally between 0 and 1 be good then converting the height over by multiplying...
Cool I didn't know you could do that with an array very useful. I'm looking into it now, thanks alot man.
After using "System.out.println("map="+java.util.Arrays.deepToString(map));" I found out...
I'm still having problems with the square/ diamond looking artifacts in the output. Is it because I'm not progressively making the noise value smaller? I've been trying to think of a way to do this...
This code may be difficult to understand but basically I'm just trying to do the diamond square algorithm to make some terrain for a tile based game. I never found an example of this for a tiled game...