Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Importing a map from One Page Dungeon is broken.

A topic by AJNeuro created Apr 15, 2020 Views: 329 Replies: 2
Viewing posts 1 to 2
(+1)

As the title says, importing a map in JSON format from One Page Dungeon is currently broken. The file loads partially, but walls are missing, and doors are all horizontal. I am guessing this was caused by the "really big update".

Developer(+1)

Thanks for reporting, I'll have a look at this bug 馃

(+1)

Hi,

same problem here. Hope this screen and json would be helpful:


{
  "version": "1.1.1",
  "title": "Nightstar Hold",
  "story": "The hold is situated deep in the jungle, in uncharted lands. Recently it was squatted by a party of cultists. It is said that the hold is rich with ancient books.",
  "rects": [
    {
      "x": -2,
      "y": -4,
      "w": 5,
      "h": 4
    },
    {
      "x": 4,
      "y": -3,
      "w": 4,
      "h": 3
    },
    {
      "x": -7,
      "y": -3,
      "w": 4,
      "h": 3
    },
    {
      "x": 6,
      "y": 1,
      "w": 1,
      "h": 2
    },
    {
      "x": 6,
      "y": -6,
      "w": 1,
      "h": 2
    },
    {
      "x": -6,
      "y": -6,
      "w": 1,
      "h": 2
    },
    {
      "x": 4,
      "y": 4,
      "w": 5,
      "h": 6
    },
    {
      "x": 4,
      "y": -13,
      "w": 5,
      "h": 6
    },
    {
      "x": -8,
      "y": -13,
      "w": 5,
      "h": 6
    },
    {
      "x": 10,
      "y": 3,
      "w": 4,
      "h": 3
    },
    {
      "x": 0,
      "y": 0,
      "w": 1,
      "h": 1
    },
    {
      "x": 3,
      "y": -2,
      "w": 1,
      "h": 1
    },
    {
      "x": -3,
      "y": -2,
      "w": 1,
      "h": 1
    },
    {
      "x": 6,
      "y": 0,
      "w": 1,
      "h": 1
    },
    {
      "x": 6,
      "y": -4,
      "w": 1,
      "h": 1
    },
    {
      "x": -6,
      "y": -4,
      "w": 1,
      "h": 1
    },
    {
      "x": 6,
      "y": 3,
      "w": 1,
      "h": 1
    },
    {
      "x": 6,
      "y": -7,
      "w": 1,
      "h": 1
    },
    {
      "x": -6,
      "y": -7,
      "w": 1,
      "h": 1
    },
    {
      "x": 9,
      "y": 4,
      "w": 1,
      "h": 1
    }
  ],
  "doors": [
    {
      "x": 0,
      "y": 0,
      "dir": {
        "x": 0,
        "y": -1
      },
      "type": 3
    },
    {
      "x": 3,
      "y": -2,
      "dir": {
        "x": 1,
        "y": 0
      },
      "type": 1
    },
    {
      "x": -3,
      "y": -2,
      "dir": {
        "x": -1,
        "y": 0
      },
      "type": 1
    },
    {
      "x": 6,
      "y": 0,
      "dir": {
        "x": 0,
        "y": 1
      },
      "type": 5
    },
    {
      "x": 6,
      "y": -4,
      "dir": {
        "x": 0,
        "y": -1
      },
      "type": 2
    },
    {
      "x": -6,
      "y": -4,
      "dir": {
        "x": 0,
        "y": -1
      },
      "type": 6
    },
    {
      "x": 6,
      "y": 3,
      "dir": {
        "x": 0,
        "y": 1
      },
      "type": 1
    },
    {
      "x": 6,
      "y": -7,
      "dir": {
        "x": 0,
        "y": -1
      },
      "type": 1
    },
    {
      "x": -6,
      "y": -7,
      "dir": {
        "x": 0,
        "y": -1
      },
      "type": 2
    },
    {
      "x": 9,
      "y": 4,
      "dir": {
        "x": 1,
        "y": 0
      },
      "type": 0
    }
  ],
  "notes": [
    {
      "text": "A mouth-shaped ironbound door with a keyhole to the south.",
      "ref": "1",
      "pos": {
        "x": 6,
        "y": -1.5
      }
    },
    {
      "text": "An ooze-covered body of an elf, a flask of holy water and a mace close to it.",
      "ref": "3",
      "pos": {
        "x": -5,
        "y": -1.5
      }
    },
    {
      "text": "A reinforced chest containing an iron key.",
      "ref": "2",
      "pos": {
        "x": 6.5,
        "y": -10
      }
    },
    {
      "text": "A crate with some gold.",
      "ref": "4",
      "pos": {
        "x": -5.5,
        "y": -10
      }
    }
  ],
  "columns": [
    {
      "x": 5,
      "y": -2
    },
    {
      "x": 5,
      "y": -1
    },
    {
      "x": 6,
      "y": -2
    },
    {
      "x": 6,
      "y": -1
    },
    {
      "x": 7,
      "y": -2
    },
    {
      "x": 7,
      "y": -1
    },
    {
      "x": -6,
      "y": -2
    },
    {
      "x": -6,
      "y": -1
    },
    {
      "x": -5,
      "y": -2
    },
    {
      "x": -5,
      "y": -1
    },
    {
      "x": -4,
      "y": -2
    },
    {
      "x": -4,
      "y": -1
    }
  ],
  "water": []
}