Difference between revisions of "Talk:Dungeon builder written in Python"
Jump to navigation
Jump to search
(sample outputs) |
|||
Line 6: | Line 6: | ||
:: So could you post an example output? :P -- Zetty, 5 May, 2009 | :: So could you post an example output? :P -- Zetty, 5 May, 2009 | ||
::: Random page button brought mere here and I thought 'why not' so here they are. <b><i>[[User:Ancient|–Michal Bielinski]]<sup>[[User_talk:Ancient|Talk]]</sup></i></b> 14:16, 20 October 2010 (UTC) | ::: Random page button brought mere here and I thought 'why not' so here they are. <b><i>[[User:Ancient|–Michal Bielinski]]<sup>[[User_talk:Ancient|Talk]]</sup></i></b> 14:16, 20 October 2010 (UTC) | ||
If you change line 13 from | |||
:self.mapArr=ones((ysize,xsize)) | |||
to | |||
:self.mapArr=[[ 1 for y in range(ysize)] for x in range(xsize)] | |||
you remove the need for numpy. |
Latest revision as of 18:28, 4 October 2011
image of the result?
Could someone post an example of a random dungeon created with this algorithm? Currently haven't got a working python enviroment (yet, lol) so i can't test the implementation myself, eh... Solarnus 08:45, 16 January 2008 (CET)
- Nevermind, finally got the chance to test it and check the results by myself.. Solarnus 20:58, 23 January 2008 (CET)
- So could you post an example output? :P -- Zetty, 5 May, 2009
- Random page button brought mere here and I thought 'why not' so here they are. –Michal BielinskiTalk 14:16, 20 October 2010 (UTC)
- So could you post an example output? :P -- Zetty, 5 May, 2009
If you change line 13 from
- self.mapArr=ones((ysize,xsize))
to
- self.mapArr=[[ 1 for y in range(ysize)] for x in range(xsize)]
you remove the need for numpy.