Terrain generation has always been an interesting topic in the field of game development. Today, I came across this article, which discussed on fractal algorithms focused on terrain generation. Having captured my interest, I went on looking for more information on this topic, and came across this submission at deviantArt, made by ArtBIT.
Hence after a whole day of googling and dissecting ArtBIT’s code, I’ve experimented with various ways and came up with a modified version in AS3. Instead of using recursive functions, mine uses an iterative loop, as I can’t get a proper grasp of recursions with it.
And anyway, here’s the experiment, a terrain generation engine. Next, I’ll go on and implement the terrain destruction mechanism and fill up my free time.