LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

World Generation??

Root / Programming Questions / [.]

MochaProbablyCreated:
I'm making a simple Terraria-like game and it has gone well so far, but I've hit a road block: world generation. I don't have the skill required to make something like that, and if I did it would be very un-compact. Could somebody teach me how this could work? The key for the program is D5RXEE3V if you'd like to go in the code and do it your self.

I'll finish up what I'm working on and see what I can do. I have some experience with terrain generation. I would suggest creating some graphics for the listed blocks (air, diamond, gold, ECT.).

I'll finish up what I'm working on and see what I can do. I have some experience with terrain generation. I would suggest creating some graphics for the listed blocks (air, diamond, gold, ECT.).
Thanks, I already have the sprites for the listed blocks: Dirt, Grass,Stone,WoodenLog,Leaves,CoalOre,IronOre,GoldOre, and DiamondOre

first, how wide and tall should the map be? Second, what are all of the blocks that will be used (grass, rock, water, ect.)? Third, what are all of the natural formations (caves, trees, lakes, ect.)?

Well I was maybe thinking 256x128 world size (256 long, 128 high). And for now it's going to be grass, dirt, stone. Coal-iron-gold-diamond ore,logs, and leaves.And natural formations would be trees. But I plan on adding on to it with updates.

first, how wide and tall should the map be? Second, what are all of the blocks that will be used (grass, rock, water, ect.)? Third, what are all of the natural formations (caves, trees, lakes, ect.)?
So what's your progress so far? (If you have started ofc)

Sorry for the late response... I kept getting the "bad gateway" error. Anyway, I've just finished what I was working on so I don't have much yet. It's mostly notes on how the program will function.

Sorry for the late response... I kept getting the "bad gateway" error. Anyway, I've just finished what I was working on so I don't have much yet. It's mostly notes on how the program will function.
Got it

Update: I have the basic layout for the terrain. I just need to add ores. And one more question--should I add a cave system?

Update: I have the basic layout for the terrain. I just need to add ores. And one more question--should I add a cave system?
Looking great! I'll have to dig through the code when your done to see how it all works ;) but yes if you have the time, add caves systems. EDIT: This is completely optional but if you can could you add like commentary in the code? Like explain what's going on and stuff. This would be really handy because it'll help me learn about what's going on and if I want to edit it I wouldn't break it or do it in an unefficent way.

Update: I have the basic layout for the terrain. I just need to add ores. And one more question--should I add a cave system?
How is it coming along? Progress?

I'm fairly close to finishing... I'm trying to finish my summer homework before school starts so it could be a bit.

I'm fairly close to finishing... I'm trying to finish my summer homework before school starts so it could be a bit.
Ah ok, take your time! No need to rush, as long as it gets finished I'll be happy

Done! I hope you enjoy. Public key: 8DNXN3QJ
screenshots
If you have any questions or requests, feel free to ask.

Done! I hope you enjoy. Public key: 8DNXN3QJ
screenshots
If you have any questions or requests, feel free to ask.
Thanks very much! I'll try to get your name somewhere in the game :D

oh gosh, Nathaniel thats genius to use each layer as one place instead of layers.. i had used it to make outside areas but thats makes so much sense.. like wow..