Really actually removing the pains of formspec design.
Go to file
luk3yx dcebea7965 Add GitLab CI 2021-03-11 16:41:53 +13:00
formspec_ast@df9e9e93a5 Save in formspec version 4 and update submodules 2021-03-09 21:05:03 +13:00
fs51@314139bc56 Save in formspec version 4 and update submodules 2021-03-09 21:05:03 +13:00
.gitignore Fix visual glitches 2020-02-01 12:47:39 +13:00
.gitlab-ci.yml Add GitLab CI 2021-03-11 16:41:53 +13:00
.gitmodules Save in formspec version 4 and update submodules 2021-03-09 21:05:03 +13:00
.luacheckrc Fix typo 2020-02-01 17:01:47 +13:00
LICENSE.md Initial commit. 2020-01-31 20:27:51 +13:00
README.md Fix typo 2021-02-27 11:43:05 +13:00
Screenshot.png Fix screenshot. 2020-02-01 20:51:26 +13:00
digistuff_ts.lua Add drag+drop with interact.js (closes #2) 2021-02-27 11:42:19 +13:00
grid.png Add grid 2020-02-01 20:29:06 +13:00
index.html Bump revisions 2021-03-09 21:06:49 +13:00
index.js Add drag+drop with interact.js (closes #2) 2021-02-27 11:42:19 +13:00
index.lua Bump revisions 2021-03-09 21:06:49 +13:00
json.lua Refactor and add .luacheckrc. 2020-02-01 16:57:03 +13:00
renderer.lua Bump revisions 2021-03-09 21:06:49 +13:00
start-server Initial commit. 2020-01-31 20:27:51 +13:00
style.css Tentatively add vertlabel[] support. 2020-04-18 17:24:26 +12:00
style.scss Tentatively add vertlabel[] support. 2020-04-18 17:24:26 +12:00

README.md

Web-based formspec edtior

Really actually removing the pains of formspec design.

Git repository

Try it online

Uses Fengari to run my formspec_ast and fs51 mods on web browsers.

image[] elements use HDX textures by default (dynamically loaded when required).

Major features

  • Web-based (no waiting for MT to load)
  • Dragging and resizing elements.
  • Property editor
  • ${lua code} substitution in text values.
    • Don't remove the weird comments generated when exporting these formspecs if you plan to import them again.
  • The ability to load existing formspecs (provided they are version 2 or above).
  • The ability to export to (but not import from) digistuff touchscreen formspecs.

Limitations

  • Although it can save formspecs in the version 1 format, it cannot load them in this format. Co-ordinates are backported with help from my fs51 mod.
  • The properties editor is slow when manipulating lots of properties.
  • Malicious formspecs imported with the ${...} substitution option enabled can freeze the webpage.
  • Element alignment might not be perfect.
  • I haven't tested this thoroughly in many browsers, if you find any bugs please report them.
  • Texture modifiers in image[] will not be displayed in the preview.

Copyright © 2020 by luk3yx

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.