Quantcast
Channel: Question and Answer » libgdx
Viewing all articles
Browse latest Browse all 434

How To generate spiky terrain in 2D?

$
0
0

I am learning game design, and wanted to know how one can automatically generate spiky terrain (something like this: Cavernaut, notice, the terrain at the sides?). I have heard about midpoint displacement algorithm. But How can I apply that to my problem, given that I would also like to increase/decrease the randomness of the terrain.

Also, Is there any helpful library for this in libgdx?enter image description here


Viewing all articles
Browse latest Browse all 434

Trending Articles