-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|674|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Snippet Home -> Generators


 
Pakz
Created : 20 June 2018
 
Language : Monkey-X

Maps - Horizontal Line Puller

Pull sections from a line to create maps

Screenshots

Latest Update

The code creates a horizontal line in the center of a map. Then it pulls sections up or down where possible while keeping the line intact.

Then hallways are created up or down and then rooms are added.

A grow (blend like) method optionally adds a more cave like or noisy effect.

Code is commented.

 

Comments


Thursday, 21 June 2018, 02:28
cyangames
Looks really cool!