Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles

Saving produces blank images

A topic by Saoskia created Mar 20, 2018 Views: 126 Replies: 6
Viewing posts 1 to 3

I might be doing something wrong, but whenever I save, it saves a blank image. I've got three paths in my grid, but none of them appear on the saved image.

I'm using macOS High Sierra, and I'm not using the itch desktop app.

Developer

Could you paste the content of the .dot file? 

I'll have a look :)

Sure thing.

{
  "layers": [
    [
      {
        "type": "arc_r",
        "verteces": [
          {
            "x": 30,
            "y": 135
          },
          {
            "x": 225,
            "y": 285
          }
        ]
      },
      {
        "type": "line",
        "verteces": [
          {
            "x": 210,
            "y": 210
          },
          {
            "x": 240,
            "y": 15
          }
        ]
      },
      {
        "type": "line",
        "verteces": [
          {
            "x": 150,
            "y": 45
          },
          {
            "x": 120,
            "y": 135
          }
        ]
      }
    ],
    [],
    []
  ],
  "styles": [
    {
      "thickness": 31,
      "strokeLinecap": "round",
      "strokeLinejoin": "round",
      "color": "",
      "fill": "none",
      "dash": [
        0,
        0
      ]
    },
    {
      "thickness": 5,
      "strokeLinecap": "round",
      "strokeLinejoin": "round",
      "color": "#777",
      "fill": "none",
      "dash": [
        0,
        0
      ]
    },
    {
      "thickness": 5,
      "strokeLinecap": "round",
      "strokeLinejoin": "round",
      "color": "#444",
      "fill": "none",
      "dash": [
        0,
        0
      ]
    }
  ]
}
Developer

The layer has no color! (I will make it so it's impossible to leave color empty).

Click on the circle to the right, and type #000 &" enter", for black. (or #fff for white).

That should fix it :)

Ha ha, I didn't even realise the colour was blank! That's fixed it.

Thanks for the speedy replies and the quick fix :)

Developer

Anytime :) Let me know if you have any fun ideas that would make Dotgrid better, and I will implement!

Developer

Just pushed a build that fixes that :)