I am aiming for something very focused and unobtrusive (from an API point of view) that can be easily turned on and off. To that end, I've worked more on features like skins and XML widget layouts than actual widgets at this point, but things like sliders, checkboxes, text inputs that actually recognize the shift key, etc. are on my list.
This is my first substantial project with love2d, and I would appreciate suggestions/comments/etc.!
Edit: attached the .love I've been using to test it. I'll probably start including something like this in the repository as well. Note that it needs LuaExpat to work, since it uses the XML layouts module.
Edit #2: There is an example main.lua in the git repository now, so I am removing the outdated .love here. Also, no more lxp dependency! Yay!
Last edited by ZephyrMC on Fri Dec 09, 2011 11:01 am, edited 3 times in total.
I made a little utility that converts love key constants into typed characters (shift+'d' = 'D'). It's not very well tested but you are welcome to use/alter it if you find it helpful at all.
I am aiming for something very focused and unobtrusive (from an API point of view) that can be easily turned on and off. To that end, I've worked more on features like skins and XML widget layouts than actual widgets at this point, but things like sliders, checkboxes, text inputs that actually recognize the shift key, etc. are on my list.
This is my first project with love2d, and I would appreciate suggestions/comments/etc.!
Any chance you could write a up a sample love project so that we could see it in action? The documentation isn't entirely clear on how to use it, and people (e.g. myself) are very "learn by example" kind of people.
Missing Sentinel Software | Twitter FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
Kadoba wrote:I made a little utility that converts love key constants into typed characters (shift+'d' = 'D'). It's not very well tested but you are welcome to use/alter it if you find it helpful at all.