MacroSacramento
MacroSacramento

Reputation: 108

Flat Terrain Generation in Java

I am currently working on a 2D survival game and I want to generate my own custom terrain problem is, I don't know how! I wanted to make it similar to Minicraft (not minecraft) where it is random flat terrain but i have no clue how to do so. I tried making sense of Notch's actual code but it all seems like gibberish.

If anyone could link me to a tutorial or at least explain how to do it please do.

Upvotes: 1

Views: 640

Answers (1)

trashgod
trashgod

Reputation: 205785

This example implements Icon and uses TexturePaint to synthesize ground tiles.

image

Upvotes: 2

Related Questions