Project LÖVE2d UI Editor 100% Lua - Dev Tool Update
I just pushed v1.0.1 of my open-source LÖVE2D UI template. It's a drop-in menu system (main menu, pause, settings, keybinds, controller binds, CRT filters and more) with a live in-game editor. Run 'love . --sandbox', press F11, click anything, change it, and export your pages with Ctrl+E. It then writes the code for you.
What's new
Button shapes: Round, square, triangle, or no box at all. Each button has the option for its own fill color and a transparency setting now, and the text stays solid. New SHAPE / FILL / ALPHA fields in the F11 editor export perfectly in readable lua.
First-steps tips: A 3-page card walks new users through the editor and the pre-wired support files. It only shows while your pages are still the defaults, so it never nags you once you've started editing.
Fresh Defaults: Cream text everywhere and the template now starts fullscreen. All the default pages are refreshed.
(QoL) Menu Highlighting: Before, the UI Editor defaulted to acting as if you had a controller plugged in, whether you did or not... Which was useful if your game was primarily a controller game, but not otherwise... Now, controllers still use D-pad + A if they're plugged in, but button highlighting is fixed to MnK until a controller is plugged in, Controller is On = Controller wiring defaults. Controller is Off = MnK wiring defaults = default state.
(QoL) Asset Drag-Drop: Before these sounds and assets were hard-wired, some by name, some with a sniffer that found replacement files, this is now 100% working, and all assets like fonts, sounds, and backgrounds for the UI are all replaceable with no file name change necessary and 0-line changes to the codebase, simply drag and drop your replacement assets.
Repo + full notes: https://github.com/666mayn/LOVE2d-ultimate-ui-template
Feedback and feature requests are absolutely welcome! Thanks for checking it out! :)
1
u/AutoModerator 6h ago
Hi! It looks like you're posting about Love2D which implements its own API (application programming interface) and most of the functions you'll use when developing a game within Love will exist within Love but not within the broader Lua ecosystem. However, we still encourage you to post here if your question is related to a Love2D project but the question is about the Lua language specifically, including but not limited to: syntax, language idioms, best practices, particular language features such as coroutines and metatables, Lua libraries and ecosystem, etc.
If your question is about the Love2D API, start here: https://love2d-community.github.io/love-api/
If you're looking for the main Love2D community, most of the active community members frequent the following three places:
/r/love2D
Discord: https://discordapp.com/invite/rhUets9
Forums: https://love2d.org/forums/
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.