The code was born during an improvised hackathon as a result of a friendly dispute about procedural generation and terrain maps. The application purpose is to generate pixel-art terrain maps of a given size using parameterized simplex noise for terrain altitudes and a predefined set of rules for terrain types and colors.
Work is still in progress.
Go with Ebitengine and zero third-party dependencies.
Make sure you have the Go installed
go version
Clone the repo
git clone https://github.com/oleg-vasiliev/mapgen.git
Go to the project directory
cd mapgen
Download and verify dependencies
go mod download
go mod verify
Compile and start the app
go run ./cmd/mapgen
Or just build the binary
go build -o=./bin/ ./cmd/mapgen
TODO
-
Configuration seed should include all various noise settings.
-
Display in UI current terrain levels.
-
Implement different color themes.
-
Add visual indication for world exporting process.
-
Add to map randomly placed objects: trees, animals, buildings, etc.
-
Implement inertial viewport scrolling.
If you have any feedback please contact me by email.