inconcessus / otmapgen Goto Github PK
View Code? Open in Web Editor NEWUses random noise to generate realistic OTBM terrain with auto-bordering.
License: MIT License
Uses random noise to generate realistic OTBM terrain with auto-bordering.
License: MIT License
It would be interesting to have only constants in both OTMapGen.js and border.js and move all ids to a single files, so people could easily change for using 7.6 ids, or OpenTibia Sprite Pack, or a complete different set of 10.98 tiles.
When generating a map with following configuration:
SEED: "",
WIDTH: 10000,
HEIGHT: 10000,
VERSION: "10.98",
TERRAIN_ONLY: false,
GENERATION: {
NOISE_INCREMENT: 14,
ISLAND_DISTANCE_DECREMENT: 0.42,
ISLAND_DISTANCE_EXPONENT: 0.45,
CAVE_DEPTH: 20,
CAVE_ROUGHNESS: 0.45,
CAVE_CHANCE: 0.5,
SAND_BIOME: true,
EUCLIDEAN: false,
SMOOTH_COASTLINE: true,
ADD_CAVES: true,
WATER_LEVEL: 2,
EXPONENT: 1.4,
LINEAR: 4,
MOUNTAIN_TYPE: "MOUNTAIN",
FREQUENCIES: [
{ f: 1, weight: 0.3 },
{ f: 2, weight: 0.4 },
{ f: 4, weight: 0.4 },
{ f: 8, weight: 0.225 },
{ f: 16, weight: 0.23 },
{ f: 32, weight: 0.11 },
{ f: 64, weight: 0.0025 },
],
},
i7 11th gen, 32GB RAM just FYI
Hello, have possible create elemental Ambient? Fire, Ice, Death and create city?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.