Difference between revisions of "Pointer map"

From RogueBasin
Jump to navigation Jump to search
(Created page with 'I just want you to discuss about my map-generating methos. I see al methods described here are much more complicated than my own... ---- 1. Create a pointer in random point of t…')
 
Line 2: Line 2:


----
----
1. Create a pointer in random point of the map.
<nowiki>1. Create a pointer in random point of the map.
2. Create a "floor" tile in the pointed place
2. Create a "floor" tile in the pointed place
3. Move pointer one tile in random (possible) direction
3. Move pointer one tile in random (possible) direction
4. move back to point 2 1000 times.
4. move back to point 2 1000 times.</nowiki>


It creates a HUGE variety of map. some of them are rather rectangular, but some are totally different, just hard even to describe the shape of them.
It creates a HUGE variety of map. some of them are rather rectangular, but some are totally different, just hard even to describe the shape of them.
Method looks preety simple, my only concern is that pointer is moving many many times trouhg the same tiles.
Method looks preety simple, my only concern is that pointer is moving many many times trouhg the same tiles.

Revision as of 18:07, 6 August 2010

I just want you to discuss about my map-generating methos. I see al methods described here are much more complicated than my own...


1. Create a pointer in random point of the map. 2. Create a "floor" tile in the pointed place 3. Move pointer one tile in random (possible) direction 4. move back to point 2 1000 times.

It creates a HUGE variety of map. some of them are rather rectangular, but some are totally different, just hard even to describe the shape of them. Method looks preety simple, my only concern is that pointer is moving many many times trouhg the same tiles.