Search found 3548 matches

by pgimeno
Wed Apr 04, 2018 9:55 pm
Forum: General
Topic: Looping in queueable sources
Replies: 7
Views: 4061

Re: Looping in queueable sources

Technically it's possible to specify per-sample looping points as well as looping mechanism (ping-pong, wrap, etc.) but this functionality is not implemented. I don't think you'd need it since it's basically just a harder way of using separate individual sound clips. What do you mean about using se...
by pgimeno
Wed Apr 04, 2018 8:44 pm
Forum: General
Topic: Why faking 3D nowadays?
Replies: 46
Views: 39593

Re: Why faking 3D nowadays?

While your matrix that works is: { 1.3, 0, 0, 0, 0, 0, 1, 1, 0, -1.7, 0, 0, -450, -120, 50, 50, } Ahh, okay, I get it now. You're referring to the first demo. In the first demo I didn't follow any particular convention, I just played with the distance, height and a 90° rotation until I got the imag...
by pgimeno
Wed Apr 04, 2018 6:36 pm
Forum: General
Topic: Why faking 3D nowadays?
Replies: 46
Views: 39593

Re: Why faking 3D nowadays?

I've been trying to recreate your demos using CPML, but I can't quite the viewport matrix to match to yours. You create yours from scratch, while I use from_perspective . With values like (60, 4/3, 0.0625, 1024.0625) to mimick the ones in your example. However, I've been unsuccessful. After from_pe...
by pgimeno
Wed Apr 04, 2018 4:53 pm
Forum: General
Topic: 11.0 bugs
Replies: 47
Views: 66441

Re: 11.0 bugs

@slime: Thanks for the explanation on the error message. It's clear now, though I wonder if it will mislead more people. About newImageData, I've edited the wiki accordingly. I may have screwed up the order, not sure. To hopefully prevent it from getting lost in the other thread, and since I can't u...
by pgimeno
Wed Apr 04, 2018 3:49 pm
Forum: General
Topic: Why faking 3D nowadays?
Replies: 46
Views: 39593

Re: Why faking 3D nowadays?

Turns out, Shader:send() sends the matrix in row-major order in 11.0 (thanks shakesoda for the info). I've updated the posts.
by pgimeno
Wed Apr 04, 2018 2:59 pm
Forum: General
Topic: 11.0 bugs
Replies: 47
Views: 66441

11.0 bugs

I was taking a look at the source and found this snippet in wrap_Graphics.cpp: if (targets.colors.back().canvas->getTextureType() != TEXTURE_2D) return luaL_error(L, "The table-of-tables variant of setCanvas must be used with non-2D Canvases."); By my reading, the error message should eit...
by pgimeno
Wed Apr 04, 2018 2:42 pm
Forum: Support and Development
Topic: Canvas & Stencil in Love 11.0
Replies: 12
Views: 13530

Re: Canvas & Stencil in Love 11.0

Glad to hear you got it to work. Used your suggestion and got the same error message for the line mentioned above. Must be something else in the code that is causing this Love 10 script to fail in Love 11. More head scratching required! Really? Does this code gives an error for you? (texCanvas is a...
by pgimeno
Wed Apr 04, 2018 1:45 pm
Forum: General
Topic: Looping in queueable sources
Replies: 7
Views: 4061

Looping in queueable sources

I'm opening this new thread to avoid derailing the thread where it originated. One inconvenient of this usage is that if the sounds are not encoded losslessly (i.e. WAV), the transitions/loop may have audible artifacts. I'm not finding a way to loop one of the samples. Maybe it's not possible with t...
by pgimeno
Wed Apr 04, 2018 12:59 pm
Forum: General
Topic: LÖVE 11.0 released!
Replies: 98
Views: 109119

Re: LÖVE 11.0 released!

It may have to do with this:

Apr 03 01:20:22 <slime> mesh:setDrawRange has changed to take start and count arguments, instead of min and max arguments

https://love2d.org/wiki/Mesh:setDrawRange
by pgimeno
Wed Apr 04, 2018 9:01 am
Forum: General
Topic: LÖVE 11.0 released!
Replies: 98
Views: 109119

Re: LÖVE 11.0 released!

I don't think I quite understand what queueable audio sources are. Can someone elaborate further? How are they different from regular sources and what unique things can you do with them? Apart from what Zorg said, you can also have a song with an intro, a loop, and optionally an "outro". ...