Monday, May 18, 2015

algorithm - What is the simplest method to generate smooth terrain for a 2d game?


What is the simplest method to generate smooth terrain for a 2d game like "Moon Buggy" or "Route 960"?


I got an answer at stackoverflow.com about generate an array of random heights and blur them later. Yes, it's quite okay. But it would be better to give some points, and get a smooth curve.




No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...