Search found 873 matches
- Tue Jan 12, 2016 7:33 pm
- Forum: General
- Topic: I LÖVE callbacks
- Replies: 29
- Views: 10897
Re: I LÖVE callbacks
But what will you do when you want to write some library code than needs to respond to events? Have your API require a bunch of boilerplate where the user writes stuff like this? I think of that as a feature, because it allows me to know what is happening and when. No magic behavior or libraries do...
- Thu Jan 07, 2016 5:41 pm
- Forum: Support and Development
- Topic: updated to 9.2 console window not showing
- Replies: 19
- Views: 9952
- Thu Jan 07, 2016 5:36 pm
- Forum: Libraries and Tools
- Topic: [Lib] SUIT - Simple User Interface Toolkit
- Replies: 81
- Views: 90488
Re: [Lib] SUIT - Simple User Interface Toolkit
Function updateMouse needs position (x,y), which may not be calculated comfortably. You don't need to calculate it, because you already know it. Either you have provided it yourself: suit.Button("Click?", 100,100, 150,30) or you can note the cell coordinates from the layout: local x,y,w,h...
- Wed Jan 06, 2016 1:07 pm
- Forum: Libraries and Tools
- Topic: [Lib] SUIT - Simple User Interface Toolkit
- Replies: 81
- Views: 90488
Re: [Lib] SUIT - Simple User Interface Toolkit
Is it possible to set a widget state? Currently the widget is actice when a mouse is hovering over it, but I would like to use keyboard to select buttons (and see which is selected/active), and input to get a focus even if the mouse is not over it. It's undocumented, but you can set the id of the c...
- Mon Jan 04, 2016 7:39 am
- Forum: Libraries and Tools
- Topic: [Lib] SUIT - Simple User Interface Toolkit
- Replies: 81
- Views: 90488
Re: [Lib] SUIT - Simple User Interface Toolkit
Yes. The main reason are the different mouse constants. It might work with 0.9.2 if you replace line 139 in core.lua.padicao2010 wrote:SUIT need 0.10?
Already possible: [wiki]love.keyboard.setKeyRepeat[/wiki]padicao2010 wrote:How about "Hold Backspace to delete multiple characters"?
- Sun Jan 03, 2016 6:19 pm
- Forum: Libraries and Tools
- Topic: [Lib] SUIT - Simple User Interface Toolkit
- Replies: 81
- Views: 90488
Re: [Lib] SUIT - Simple User Interface Toolkit
Tons of updates! Ok, four, but still: Tweaked The documentation/tutorial has images! And they move! WetDesertRock made SUIT suitable for mobile devices . UI instances . Basically, you can have several separate ui states. I've attached the big demo that shows ALL THE WIDGETS so you can get a feel for...
- Fri Jan 01, 2016 9:07 pm
- Forum: Libraries and Tools
- Topic: [Lib] SUIT - Simple User Interface Toolkit
- Replies: 81
- Views: 90488
[Lib] SUIT - Simple User Interface Toolkit
It has taken a while, but the immediate mode GUI library formerly known as Quickie has gotten a much needed makeover. The changes are so severe, that it is fair to call it a different name. Thus, I give to you: SUIT The Simple/Smart/...Succulent? User Interface Toolkit for LÖVE. SUIT takes quite a d...
- Wed Dec 23, 2015 9:03 am
- Forum: General
- Topic: LÖVE 0.10.0 released
- Replies: 86
- Views: 82327
Re: LÖVE 0.10.0 released
Awesome!
LÖVE sure has come a long way. Yet every new release continues to one-up the previous release!
LÖVE sure has come a long way. Yet every new release continues to one-up the previous release!
- Fri Dec 11, 2015 1:58 pm
- Forum: General
- Topic: Code Puzzles
- Replies: 44
- Views: 17776
Re: Code Puzzles
Although this doesn't work if it's nested any more than two levels. (When I say "work," I mean that it doesn't repeat the printed statement above then below, which is how I expect it to work, at least). It solves the puzzle ... :P Here is a solution that allows nesting: function T(f) loca...
- Thu Dec 10, 2015 11:23 pm
- Forum: General
- Topic: Code Puzzles
- Replies: 44
- Views: 17776
Re: Code Puzzles
Or if you're opposed to debug.setmetatable, set a metatable on _G that wraps functions when they are set, left as an exercise for the reader. :joker: I'm interested in seeing how it's done without redefining print. Here is one: function T(f) f(function(g) g(T) f(function()end) end) end Edit: A puzz...