This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
phyzix5761's profile picture

Terrain Generator

Started by phyzix5761, 23 October 2012 - 04:51 PM
phyzix5761 #1
Posted 23 October 2012 - 06:51 PM
Hey guys. I am new to computercraft and lua in general. I used to program games using C and C++ so I have some programming experience. I transferred a code I had been working on in C to computercraft. It's a random(procedurally) generated terrain maker. It's in the style of minecraft with the colors produced on the screen. Every time you run it the results will be different.

Check it out and use it as you see fit but please credit me for the terrain generation code.

Thanks

http://pastebin.com/6aWzy0TC
Mr. Fang #2
Posted 23 October 2012 - 11:07 PM
It'd be great if you could make this happen to a Turtle! It'd be funny to see it generate block by block!
phyzix5761 #3
Posted 24 October 2012 - 12:49 PM
Yeah thats a great idea!