Create your own 2D Maps with layer-by-layer system using Noise-Sample and BufferedImage pattern
Create your own 2D Maps with layer-by-layer system using Noise-Sample and BufferedImage pattern
Warning: Please see the Copyright & Licensing section before use
TileMapGenerator with Java using Noise-Sample and BufferedImage pattern
TileMapGenerator program for Java language is an easy and simple way to create your own 2D Maps with layer-by-layer system.
Uses : Please see Requirements before use
128x128
128x256
Map generation engine in given specifications
Adjustable Map size
Adjustable MapViewer scale-size
Adjustable TileTypes colors & ids
Detailed Map-Layer specifications
Adjustable size & scale & step-size feature of each Map-Layer
Advanced Map sample & noise pattern generation engine
Configurable random seed for each Map-Layer
Unique, fully randomized Map generation
Warning: You must use power-of-two values for map-size
Warning: You must use least 128x128 values for map-size
private static final Random random = new Random(System.currentTimeMillis());
LayerSetting patternLayerSetting = new LayerSetting(height, width, stepSize, depth, random);
LayerSetting skyLayerSetting = new LayerSetting(128, 128, 16, 0, random);
LayerSetting groundLayerSetting = new LayerSetting(128, 128, 16, 0, random);
LayerSetting undergroundLayerSetting = new LayerSetting(128, 128, 16, 0, random);
LayerGenerator patternGenerator = new LayerGenerator(patternLayerSetting);
LayerGenerator skyGenerator = new LayerGenerator(skyLayerSetting);
LayerGenerator groundGenerator = new LayerGenerator(groundLayerSetting);
LayerGenerator undergroundGenerator = new LayerGenerator(undergroundLayerSetting);
LayerMap patternMap = patternGenerator.doCreate(LayerType.ANY);
LayerMap skyMap = skyGenerator.doCreate(LayerType.SKY);
LayerMap groundMap = groundGenerator.doCreate(LayerType.GROUND);
LayerMap undergroundMap = undergroundGenerator.doCreate(LayerType.UNDERGROUND);
TileMapViewer.ViewMap("PATTERN", heightScaleFactor, widthScaleFactor, patternMap);
TileMapViewer.ViewMap("SKY", 4, 4, skyMap);
TileMapViewer.ViewMap("GROUND", 4, 4, groundMap);
TileMapViewer.ViewMap("UNDERGROUND", 4, 4, undergroundMap);
TileMapGenerator was created to serve three purposes:
TileMapGenerator is a basically an simple Noise Tile-Map-Generator
To act as a map-viewer which is given noise and generator ratios.
To act as a byte-pixel based BufferedImage viewer.
To act as a map-generator that you can use in your own games or research purposes.
Project Manager - Furkan Türkal (GitHub: dentrax)
We publish source for the [TileMapGenerator] in single rolling branch:
The master branch is extensively tested by our QA team and makes a great starting point for learning the algorithms. Also tracks live changes by our team.
The core project code is copyrighted by Markus 'Notch' Persson who made main-noise-core in Twitch live-broadcast.
The main project code is copyrighted by Furkan 'Dentrax' Türkal who made enhancements, fixes and improvements. And is covered by single licence.
All program code (i.e. .java) is licensed under MIT License unless otherwise specified. Please see the LICENSE.md file for more information.
References
While this repository is being prepared, it may have been quoted from some sources. (i.e Notch) If there is an unspecified source, please contact me.
Please check the CONTRIBUTING.md file for contribution instructions and naming guidelines.
TileMapGenerator was created by Furkan 'Dentrax' Türkal
You can contact by URL: CONTACT
Best Regards