Newer
Older
DungeonShooting / DungeonShooting_Godot / resource / map / RoomConfig.json
@小李xl 小李xl on 1 Mar 2023 2 KB 添加2个测试房间
[
  {
    "ScenePath": "res://resource/map/tileMaps/Room1.tscn",
    "ConfigPath": "res://resource/map/tiledata/Room1.json",
    "RoomInfo": {
      "Position": {
        "X": -1,
        "Y": -1
      },
      "Size": {
        "X": 20,
        "Y": 13
      },
      "DoorAreaInfos": [
        {
          "Direction": 3,
          "Start": 16,
          "End": 304
        },
        {
          "Direction": 0,
          "Start": 16,
          "End": 192
        },
        {
          "Direction": 2,
          "Start": 16,
          "End": 304
        },
        {
          "Direction": 1,
          "Start": 16,
          "End": 192
        }
      ]
    }
  },
  {
    "ScenePath": "res://resource/map/tileMaps/Room2.tscn",
    "ConfigPath": "res://resource/map/tiledata/Room2.json",
    "RoomInfo": {
      "Position": {
        "X": -1,
        "Y": -1
      },
      "Size": {
        "X": 19,
        "Y": 12
      },
      "DoorAreaInfos": [
        {
          "Direction": 1,
          "Start": 16,
          "End": 176
        },
        {
          "Direction": 2,
          "Start": 16,
          "End": 176
        },
        {
          "Direction": 0,
          "Start": 16,
          "End": 176
        },
        {
          "Direction": 3,
          "Start": 128,
          "End": 288
        }
      ]
    }
  },
  {
    "ScenePath": "res://resource/map/tileMaps/Room3.tscn",
    "ConfigPath": "res://resource/map/tiledata/Room3.json",
    "RoomInfo": {
      "Position": {
        "X": -1,
        "Y": -1
      },
      "Size": {
        "X": 21,
        "Y": 21
      },
      "DoorAreaInfos": [
        {
          "Direction": 1,
          "Start": 208,
          "End": 320
        },
        {
          "Direction": 3,
          "Start": 16,
          "End": 128
        },
        {
          "Direction": 2,
          "Start": 16,
          "End": 128
        },
        {
          "Direction": 1,
          "Start": 16,
          "End": 128
        },
        {
          "Direction": 2,
          "Start": 208,
          "End": 320
        },
        {
          "Direction": 3,
          "Start": 208,
          "End": 320
        },
        {
          "Direction": 0,
          "Start": 16,
          "End": 128
        },
        {
          "Direction": 0,
          "Start": 208,
          "End": 320
        }
      ]
    }
  }
]