Search found 587 matches

by grump
Tue Dec 03, 2019 1:34 pm
Forum: Support and Development
Topic: How does one debug silent crashes?
Replies: 5
Views: 427

Re: How does one debug silent crashes?

I remember a thread dedicated to one of those. Did you find the issue? I can't remember details anymore, just that examining my own code thoroughly in these situations always led me to the cause - usually off-by-one errors when accessing ffi-allocated memory - faster than trying to make sense of th...
by grump
Mon Dec 02, 2019 10:59 pm
Forum: Support and Development
Topic: How does one debug silent crashes?
Replies: 5
Views: 427

Re: How does one debug silent crashes?

Hah, coincidentally I also had to solve a silent crash with bitser - the buffer size was too small and overflowed causing a segmentation fault. It was painful to debug. If you favor speed over serialized size, you could take a look at my moonblob library. It's cleaner, well tested code, easier to d...
by grump
Sun Nov 03, 2019 9:44 am
Forum: Libraries and Tools
Topic: Slab - An Immediate Mode GUI Library In Lua
Replies: 41
Views: 29182

Re: Slab - An Immediate Mode GUI Library In Lua

Hi guys, I quickly pasted this code together from code I had lying around. Maybe it's useful for what you're trying to do here. It's partly based on lovefs, but without all the weirdness. It provides these functions: fileList driveList currentDirectory changeDirectory readFile writeFile writeTextFil...
by grump
Tue Aug 20, 2019 8:06 pm
Forum: General
Topic: Building a Free Library of Images for Everyone
Replies: 117
Views: 114105

Re: Building a Free Library of Images for Everyone

You're condemning spirit of the rule because you think it's lenient about letter of the rule. I can't quite put it into words but the entire idea is asinine. I'm not sure what you're talking about. The rule is there, I ask it to be applied because I and others are annoyed by the spam. I didn't say ...
by grump
Tue Aug 20, 2019 4:41 pm
Forum: General
Topic: Building a Free Library of Images for Everyone
Replies: 117
Views: 114105

Re: Building a Free Library of Images for Everyone

Technically the etiquette quote is more about posting twice one after another in the same thread It does not say that, and I can't come up with a reason why the one behavior would be okay in the spirit of the rule, but not the other. If you go after someone because they double posted in the same th...
by grump
Tue Aug 20, 2019 2:18 pm
Forum: General
Topic: Building a Free Library of Images for Everyone
Replies: 117
Views: 114105

Re: Building a Free Library of Images for Everyone

I've contacted the moderators and asked them if they have an issue with this. If the moderators ask me to post in only one area, I have no problem with that. Forum ettiquette : Avoid double (triple, quadruple) posting. If you forgot to include something in your post, use the edit button. It is ok t...
by grump
Wed Aug 14, 2019 6:25 pm
Forum: General
Topic: Building a Free Library of Images for Everyone
Replies: 117
Views: 114105

Re: Building a Free Library of Images for Everyone

Dear Eric Matyas, I totally understand that you want your stuff to be seen by as many people as possible. But I still feel that updating mulitple threads on the same forum, with the same content that isn't even related to LÖVE in any particular way, is akin to spamming. Would you please limit your u...
by grump
Thu Aug 01, 2019 2:18 pm
Forum: Libraries and Tools
Topic: Metaballs
Replies: 4
Views: 2108

Re: Metaballs

Looks nice! I played around with it for a bit and made some optimizations. The calculation is now done in a shader, and the texture is not recreated every frame. It's quickly hacked in though, so the code is far from optimal and not very pretty. ;)
by grump
Thu Aug 01, 2019 11:41 am
Forum: Support and Development
Topic: Get available video memory value
Replies: 6
Views: 2972

Re: Get available video memory value

Did not checked the texture creation fail, but canvas creation works "fine" when the limit is exceeded. But cpu memory consumption is increasing and fps drops to ~5 or something: (Some) GPU drivers implement memory swapping between GPU and main RAM, so you can use more GPU memory than available at ...