## Search found 31 matches

Mon Mar 09, 2015 7:34 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 156649

### Re: Löve Frames - A GUI Library

Thanks!
Sat Mar 07, 2015 8:47 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 156649

### Re: Löve Frames - A GUI Library

What exactly happens to a frame when it's close button is pressed? Is it possible to create "closed" frames? What does an object being "modal" mean?
Fri Jan 09, 2015 5:53 pm
Forum: Libraries and Tools
Topic: HUMP - yet another set of helpers
Replies: 145
Views: 48420

### Re: HUMP - yet another set of helpers

PS. safety check: function vector:angleTo(input) local arc = self:len2() * input:len2() if arc > 0 then local dot = self.x * input.x + self.y * input.y arc = math.acos(dot*dot/arc) end return arc end No, this doesn't work. Both mathematically and as in "I copy pasted and tried it". However, this sh...
Fri Jan 09, 2015 4:23 pm
Forum: Libraries and Tools
Topic: HUMP - yet another set of helpers
Replies: 145
Views: 48420

### Re: HUMP - yet another set of helpers

ivan wrote:[...]
See my edit above, exactly what I did

(You beat me by a few seconds)

edit:
The best thing is, my code works now.
Fri Jan 09, 2015 3:57 pm
Forum: Libraries and Tools
Topic: HUMP - yet another set of helpers
Replies: 145
Views: 48420

### Re: HUMP - yet another set of helpers

PS. Also, I have another small suggestion :) function vector:perpendicular() return new(-self.y, self.x) end could become: function vector:rotate90ccw() return new(-self.y, self.x) end function vector:rotate90cw() return new(self.y, -self.x) end function vector:rotate180() return new(-self.x, -self...
Thu Jan 08, 2015 10:11 pm
Forum: Libraries and Tools
Topic: HUMP - yet another set of helpers
Replies: 145
Views: 48420

### Re: HUMP - yet another set of helpers

That's great and all, but unfortunately my code still doesn't work the way I want it to

I like that duck though.
Thu Jan 08, 2015 6:09 pm
Forum: Libraries and Tools
Topic: HUMP - yet another set of helpers
Replies: 145
Views: 48420

### Re: HUMP - yet another set of helpers

I screwed up my coordinate systems and should be ashamed of myself. Nothing to see here, move along.
Sat Dec 06, 2014 10:20 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 156649

### Re: Löve Frames - A GUI Library

I have the same problem as Rishavs - the .OnClick callback for buttons does not work. Here's my code (relevant parts on top): function love.load() require("lib.Frames") button_circles = loveframes.Create("button") button_circles:SetWidth(200) button_circles:SetText("Toggle Lines") button_circles.x ...
Sat Dec 06, 2014 9:32 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 156649

### Re: Löve Frames - A GUI Library

I have the same problem as Rishavs - the .OnClick callback for buttons does not work. Here's my code (relevant parts on top): function love.load() require("lib.Frames") button_circles = loveframes.Create("button") button_circles:SetWidth(200) button_circles:SetText("Toggle Lines") button_circles.x =...
Sat Mar 08, 2014 4:19 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 380
Views: 156649

### Re: Löve Frames - A GUI Library

Is there somewhere a documentation on the state feature? All I can find about it on the website is one paragraph in "Getting Started" and two methods for the base object :\ Thats the only documentation for the state system at the moment. If you need more information or help with something specific ...