![]() |
'Randomised' map fill - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: 'Randomised' map fill (/showthread.php?tid=993) |
'Randomised' map fill - Coke - 08-06-2007 Basically i have 4 grass tiles and when thrown all over the map randomly it looks really nice... however it takes ages and i'v only done three test maps and they were to post on here! My question, is it possible to have a map fill that will randomly place these over the map on the ground, would save so much time. If it is possible, some help with the coding would be good xD If it isnt, looks like i'm going to have to have a fill that specifically puts them over the map in pre-set locations, which will take forever to code -.- Cheers! Foxy Re: 'Randomised' map fill - Leighland - 09-06-2007 get the locations of the tiles on the tile sheet and blt them to the .ground using some for loops. Code: For x = 1 To max_mapx Obviously just a mock up but that's how I would do it. |