Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I am currently working on a small game that will generate a world with caves and entrances to the caves, something like Terraria if you will. Today I reached some trouble on the world/cave generation code. I want to use Perlin Noise but I am not so sure how to implement it into my code. Could someone point me in the right direction for a reference or even code samples?

share|improve this question
possible duplicate of Terrain Generation for Tile-Based 2D Platformer – Byte56 Jul 16 '12 at 22:49
2  
And maybe: gamedev.stackexchange.com/questions/20588/… depending on the style you want. And gamedev.stackexchange.com/questions/18735/… and gamedev.stackexchange.com/questions/14238/… Just search this site for Terraria. – Byte56 Jul 16 '12 at 22:51
Yes I've seen most of these and get the basic idea. The thing I'm clueless on is how to implement this in XNA to where I can later use it as a terrain for a player. – Noah Simpson Jul 18 '12 at 1:02
The implementation is going to be specific to the rest of your game. The developers job is to take concepts and turn them into code. – Byte56 Jul 18 '12 at 3:24

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.