[gameprogrammer] Re: Randomly generated tile-based background
- From: "MyName" <tg777@xxxxxxxxx>
- To: <gameprogrammer@xxxxxxxxxxxxx>
- Date: Tue, 29 Jun 2004 22:04:31 -0700
Hi Robbert,
Very inspiring thought. Now I need to figure out the associations between
the values and the tiles' properties. I'll play with the approach you
suggested to see if I can make it working.
Thanks,
Douglas Chen
----- Original Message -----
From: "Robbert de Groot" <zekaric@xxxxxxxx>
To: <gameprogrammer@xxxxxxxxxxxxx>
Sent: Tuesday, June 29, 2004 8:40 AM
Subject: [gameprogrammer] Re: Randomly generated tile-based background
> You could look for an algorithm like "Perlin Noise" and make some
> assumptions about what the certain values mean. It is a pretty simple
> algorithm. Basically...
>
> Working on a square or rectangle.
>
> 1/ set values on the corners. Random or pre generated.
>
> (ASCII ART)
> . .
>
>
>
> . .
>
> 2/ Compute new values for the mid points between these corners and a
> center
> dot. The new values should be somewhat off from the average of the two
> corner points (the average of the four new mid points for the center
> point.)
> The perturbing is random or psuedo random. The more you perturb the more
> 'noisy' end result will be.
>
> 3/ We should now have 9 dots
>
> (ASCII ART)
> . . .
> A B
> . . .
> C D
> . . .
>
> Now go back to step 1 on the 4 different squares (A, B, C and D) until
> there
> are no dots left to fill.
>
>
> Then it's just a matter of subtituting the values with the appropriate
> tiles.
>
>
> --- MyName <tg777@xxxxxxxxx> wrote: > Hello everyone,
>> I'm a newbie, and doing a small side-scrolling aircraft shooting game. I
>> want this game to have a dynamic tile-based background that just likes in
>> a traditional arcade shooting game except it is random generated at run
>> time . So the background will always look different when scrolling. Does
>> anyone know where I can get information about the algorithm for randomly
>> generating a tile-based background? Are there any good tools/utilities
>> out
>> there for designing tiles for this purpose?
>
>
> ______________________________________________________________________
> Post your free ad now! http://personals.yahoo.ca
>
>
> ---------------------
> To unsubscribe go to http://gameprogrammer.com/mailinglist.html
>
>
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- (no subject)
- From: Daniel Burdine
- References:
- [gameprogrammer] Re: Randomly generated tile-based background
- From: Robbert de Groot
Other related posts:
- » [gameprogrammer] Randomly generated tile-based background
- » [gameprogrammer] Re: Randomly generated tile-based background
- » [gameprogrammer] Re: Randomly generated tile-based background
- » [gameprogrammer] Re: Randomly generated tile-based background
- » [gameprogrammer] Re: Randomly generated tile-based background
- » [gameprogrammer] Re: Randomly generated tile-based background
- » [gameprogrammer] Re: Randomly generated tile-based background
- » [gameprogrammer] Re: Randomly generated tile-based background
- » [gameprogrammer] Re: Randomly generated tile-based background
- (no subject)
- From: Daniel Burdine
- [gameprogrammer] Re: Randomly generated tile-based background
- From: Robbert de Groot