Re: [pygame] [Pygame] Generating a map
by R. Alan Monroe other posts by this author
Aug 10 2007 5:33PM messages near this date
Re: [pygame] [Pygame] Generating a map
|
Re: [pygame] [Pygame] Generating a map
> talking a little recently about random terrain generation. One technique
> worth looking at is "Perlins noise," one way of implementing which is to
> draw various surfaces full of random data, overlay them with different
> "weights," and use the result to decide gameplay features such as the
> height of terrain.
After a LOT of trial and error, I managed to implement a proper Perlin
noise routine and draw a heightfield with it. Run main2D.py. I was
surprised at how slow it is.
Alan
Thread:
Jerome Brilland
kschnee
R. Alan Monroe
Kris Schnee
Dave LeCompte
Kris Schnee
Dr0id
Massimo S.
Dr0id
Dave LeCompte
Ian Mallett
|