Defold Polygon Editor

Hey all,
Someone bugged me on Github a few days ago, so I took a bit and fixed some issues with the polygon editor. To be honest I’m not sure how it ever worked! It’s amazing what I didn’t know when I originally made this.

  • Fixed it constantly having errors when you created vertices…
  • Fixed concave vertices not getting set back to white when they cease to be concave.
  • Hacked in native file dialogs on Linux using Zenity, so it can be usable on Linux.
    • It works on my machine: Linux Mint 20.1, with Zenity installed, but no guarantees that it works for everyone.
    • Added a fallback so you can still save polygons into the application folder on Linux if Zenity doesn’t work.
  • Made the message alerts actually last long enough to read them. :slight_smile:
  • Added a readme with a screenshot to the github repo.
15 Likes