Search found 3550 matches

by pgimeno
Wed Apr 11, 2018 4:04 pm
Forum: Support and Development
Topic: Is there an effective way to cut down lag?
Replies: 26
Views: 18411

Re: Is there an effective way to cut down lag?

I'm pretty new to Love myself, and haven't (yet!) needed to worry about spritebatches. But then 11.0 came out, and I thought I read that it automatically batches draw calls into a spritebatch. So I still haven't looked into that because I thought it was already happening. Did I misunderstand someth...
by pgimeno
Tue Apr 10, 2018 4:54 pm
Forum: Support and Development
Topic: Is there an effective way to cut down lag?
Replies: 26
Views: 18411

Re: Is there an effective way to cut down lag?

Drawing a quad has no advantage over drawing an image. However, drawing multiple quads in a single spritebatch has a big performance advantage, as the cost is comparable to that of drawing a single image, even when you have hundreds of quads in the batch. That doesn't mean that that's the bottleneck...
by pgimeno
Tue Apr 10, 2018 2:33 pm
Forum: General
Topic: LÖVE 11.0 released!
Replies: 98
Views: 110408

Re: LÖVE 11.0 released!

I was also able to recreate the effect by drawing a given sprite additional time(s) after calling `love.graphics.setBlendMode('add')`. I don't know a lot about shaders or alternate pixel formats, so I don't have any conception of whether this is more or less computationally expensive than either of...
by pgimeno
Mon Apr 09, 2018 11:18 pm
Forum: General
Topic: 11.0 bugs
Replies: 47
Views: 66674

Re: 11.0 bugs

The old 01.0 behaviour was actually a bug in PhysFS . The new behaviour is like that because we updated to PhysFS 3.0 (it would still be like this even if we didn't deprecate isFile). Thanks for the clarification. If PhysFS provides a method to check the destination of a symlink, I'd appreciate if ...
by pgimeno
Mon Apr 09, 2018 8:49 pm
Forum: General
Topic: 11.0 bugs
Replies: 47
Views: 66674

Re: 11.0 bugs

The deprecated love.filesystem.isFile does not work the same in 0.10 and 11.0. In 0.10, if the filename corresponds to a symlink that points to a file, it returns true. In 11.0, it returns false. Furthermore. love.filesystem.getInfo doesn't provide the functionality to check whether a filename corre...
by pgimeno
Mon Apr 09, 2018 5:23 pm
Forum: General
Topic: 11.0 bugs
Replies: 47
Views: 66674

Re: 11.0 bugs

This should work for components with a max value of 255:

Code: Select all

function colorMatch( c1, c2 )
  return math.abs(c1[1] - c2[1]) < 0.001
     and math.abs(c1[2] - c2[2]) < 0.001
     and math.abs(c1[3] - c2[3]) < 0.001
end
by pgimeno
Sun Apr 08, 2018 2:21 pm
Forum: General
Topic: Why faking 3D nowadays?
Replies: 46
Views: 39860

Re: Why faking 3D nowadays?

4aiman wrote: Sun Apr 08, 2018 11:36 am Wow! So many examples and even demos :)
Too bad neither one works on my Android device the way it does on Linux Desktop.
What's wrong with it? Does any program that uses hardware-accelerated 3D work in that device at all, like, say, Minetest?
by pgimeno
Sat Apr 07, 2018 10:53 pm
Forum: Libraries and Tools
Topic: gifload, a GIF image loader in pure LuaJIT+FFI
Replies: 9
Views: 17778

Re: gifload, a GIF image loader in pure LuaJIT+FFI

There's been a minor fix to the demo program, to make the command line work correctly with 11.0 when not fused. The library itself is already compatible with 11.0 and needs no changes.
by pgimeno
Sat Apr 07, 2018 5:22 pm
Forum: Libraries and Tools
Topic: Gspöt - retained GUI lib
Replies: 169
Views: 168570

Re: Gspöt - retained GUI lib

Adaptation to LÖVE 11.0 is finished and pending in a pull request: https://github.com/pgimeno/Gspot/pull/9 I'd appreciate feedback on the approach taken before I merge it. Lacking any feedback, I will merge it in 3 days. Edit: Pushed that and https://github.com/pgimeno/Gspot/pull/8 to fix the text e...
by pgimeno
Thu Apr 05, 2018 11:30 pm
Forum: Support and Development
Topic: Love 11.0 problem
Replies: 2
Views: 2280

Re: Love 11.0 problem

That message means it can't find the liblove-11.0.so library that contains the actual framework. You can try: LD_LIBRARY_PATH=. ./love

(On a side note, that's why I like to compile it as static - everything is in one single executable and I don't need to install anything or define paths)