Flat Terrain Generation in Java

江枫思渺然 提交于 2019-12-08 08:50:54

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/11589008/flat-terrain-generation-in-java

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!