Skip to content

Instantly share code, notes, and snippets.

@hex
Created July 9, 2025 08:49
Show Gist options
  • Select an option

  • Save hex/40fb87f21887051400ad253e377fc88f to your computer and use it in GitHub Desktop.

Select an option

Save hex/40fb87f21887051400ad253e377fc88f to your computer and use it in GitHub Desktop.
{
"map_width": 512,
"map_height": 512,
"number_of_houses": 96,
"tile_types": [
{
"id": 0,
"type": "grass",
"name": "Empty Tile",
"walkable": true
},
{
"id": 1,
"type": "trees1",
"name": "Forest",
"walkable": false
},
{
"id": 2,
"type": "trees2",
"name": "Dense Forest",
"walkable": false
},
{
"id": 3,
"type": "sand",
"name": "Beach",
"walkable": true
},
{
"id": 4,
"type": "water",
"name": "Lake",
"walkable": false
},
{
"id": 5,
"type": "house1",
"name": "Barrack",
"level": 2,
"walkable": false,
"is_building": true
},
{
"id": 6,
"type": "house2",
"name": "Storage",
"level": 1,
"walkable": false,
"is_building": true
}
],
"spawn_area": {
"tiles": [
{"x": 250, "y": 250, "tile_id": 0},
{"x": 251, "y": 250, "tile_id": 0},
{"x": 252, "y": 250, "tile_id": 1},
{"x": 253, "y": 250, "tile_id": 5},
{"x": 254, "y": 250, "tile_id": 0},
{"x": 255, "y": 250, "tile_id": 0},
{"x": 256, "y": 250, "tile_id": 4},
{"x": 257, "y": 250, "tile_id": 4},
{"x": 258, "y": 250, "tile_id": 3},
{"x": 259, "y": 250, "tile_id": 0},
{"x": 260, "y": 250, "tile_id": 6},
{"x": 261, "y": 250, "tile_id": 0},
{"x": 262, "y": 250, "tile_id": 2}
],
"description": "20x20 starting area centered at (256, 256)"
},
"generation_rules": {
"default_tile": 0,
"noise_seed": 42,
"biomes": [
{
"tile_id": 1,
"frequency": 0.15,
"cluster_size": 3
},
{
"tile_id": 2,
"frequency": 0.05,
"cluster_size": 2
},
{
"tile_id": 3,
"frequency": 0.08,
"cluster_size": 5
},
{
"tile_id": 4,
"frequency": 0.12,
"cluster_size": 8
}
],
"house_placement": {
"total_houses": 96,
"village_count": 8,
"houses_per_village": 12,
"min_distance_between_villages": 50
}
},
"procedural_generation": {
"enabled": true,
"chunk_size": 32,
"generation_distance": 2,
"unload_distance": 3
}
}

Comments are disabled for this gist.