Search found 8 matches

by Rusky
Wed May 12, 2010 11:41 pm
Forum: Support and Development
Topic: Joint Destruction
Replies: 6
Views: 3493

Re: Joint Destruction

Here is a patch (it's an hg bundle; you should be able to just hg pull from it):
jointudata.hg.bz2
(5.95 KiB) Downloaded 205 times
. I added Joint:get/setData, which gets passed to the new fifth callback of World:setCallbacks when Box2d gives a joint destruction notification.
by Rusky
Thu May 06, 2010 12:22 pm
Forum: Support and Development
Topic: Joint Destruction
Replies: 6
Views: 3493

Re: Joint Destruction

Took the time to look through the source; it's not there. :( It shouldn't be to hard to add, would it work if I did it myself and submitted a patch?
by Rusky
Thu May 06, 2010 3:00 am
Forum: Support and Development
Topic: Joint Destruction
Replies: 6
Views: 3493

Re: Joint Destruction

That would be a significant waste of time when Box2D can already tell you this. I was just wondering if I was missing something in the documentation.
by Rusky
Wed May 05, 2010 11:17 pm
Forum: Support and Development
Topic: Subdirectories in .love Files
Replies: 10
Views: 5139

Re: Subdirectories in .love Files

Yeah, I'll go with slashes for now. I'm posting a bug report.
by Rusky
Wed May 05, 2010 10:41 pm
Forum: Support and Development
Topic: Subdirectories in .love Files
Replies: 10
Views: 5139

Re: Subdirectories in .love Files

Thanks for the help, everyone. Switched to dots for aesthetic purposes, but that wasn't the problem. In main.lua, require("world.init") works (although it would be nice if require("world") checked for "world.init" by default like Lua; should I submit that as a feature r...
by Rusky
Wed May 05, 2010 5:51 pm
Forum: Support and Development
Topic: Subdirectories in .love Files
Replies: 10
Views: 5139

Re: Subdirectories in .love Files

I checked the case already; here's the .love file:
distoban.love
(384.7 KiB) Downloaded 247 times
by Rusky
Wed May 05, 2010 3:10 pm
Forum: Support and Development
Topic: Joint Destruction
Replies: 6
Views: 3493

Joint Destruction

Box2D takes callbacks for when joints are destroyed. Unless I'm missing something, LOVE doesn't give you a way to access this. I have a structure that should be destroyed when the joint breaks, but I can't find a way to do this.
by Rusky
Wed May 05, 2010 1:56 pm
Forum: Support and Development
Topic: Subdirectories in .love Files
Replies: 10
Views: 5139

Subdirectories in .love Files

My game is big enough that I started organizing it into subdirectories. It works just fine in a directory, but once I zip it into a .love file "require("subdir/something")" stops working. It looks like the LOVE filesystem can't deal with directories- the last line of the error is...