Search found 1143 matches

by pgimeno
Sat Jul 14, 2018 12:16 am
Forum: Support and Development
Topic: Indexed 16 colour palette simulation?
Replies: 20
Views: 720

Re: Indexed 16 colour palette simulation?

Yes, you certainly can do that :D

The point here is to be able to paint everything, especially images, in such a way that everything drawn uses a 16-colour palette. The rectangles demo was just to verify that the shader works as expected, as noted up-thread.
by pgimeno
Thu Jul 12, 2018 10:15 pm
Forum: Support and Development
Topic: Encode an mp4?
Replies: 4
Views: 154

Re: Encode an mp4?

LÖVE supports Ogg Theora video decoding, but I don't think it supports any form of video encoding. Saving one image per frame to encode them into a video later sounds like one way to go. Using a video capturing tool that captures from the screen would be another.
by pgimeno
Wed Jul 11, 2018 9:07 pm
Forum: Support and Development
Topic: Compound Shapes?
Replies: 7
Views: 228

Re: Compound Shapes?

Not to my knowledge.
by pgimeno
Wed Jul 11, 2018 4:00 pm
Forum: Support and Development
Topic: Compound Shapes?
Replies: 7
Views: 228

Re: Compound Shapes?

Both love.physics.newCircleShape and love.physics.newRectangleShape allow specifying a position.
by pgimeno
Wed Jul 11, 2018 1:48 pm
Forum: Support and Development
Topic: Contact:getNormal's y-coordinate is 0, vector also is not unit
Replies: 1
Views: 62

Re: Contact:getNormal's y-coordinate is 0, vector also is not unit

I set all the colliding objects to sensors Sensors don't generate normals. No idea what getNormal is returning in such case, though. Probably garbage. https://stackoverflow.com/questions/9716061/find-contact-normal-for-sensor-in-box2d-2-1a Also, potentially unrelated: after the circles pass through...
by pgimeno
Wed Jul 11, 2018 8:56 am
Forum: General
Topic: Why faking 3D nowadays?
Replies: 46
Views: 6945

Re: Why faking 3D nowadays?

Oops, I edited too late. Yes, it's this problem: https://github.com/excessive/cpml/issues/32

Edit: Note also that the love3D demo additionally performs backface culling to improve performance which you can activate with love.graphics.setMeshCullMode.
by pgimeno
Wed Jul 11, 2018 8:44 am
Forum: General
Topic: Why faking 3D nowadays?
Replies: 46
Views: 6945

Re: Why faking 3D nowadays?

Thanks. The depth buffer is not the problem; the demo works in 0.10 even when disabling love3d entirely, you just see some polygons drawn in a weird order. It seems to me that the problem is in some lib that isn't upgraded to work with 11.x (probably IQM). I get the same result when I run the origin...
by pgimeno
Wed Jul 11, 2018 7:52 am
Forum: Support and Development
Topic: Indexed 16 colour palette simulation?
Replies: 20
Views: 720

Re: Indexed 16 colour palette simulation?

Heheh, well it's exactly what @Stifu is doing in his zabayuki game too :) Maybe Stifu can take advantage of that technique too :) But his purpose is a bit different, so maybe not. 1. In your example, you use only the R and G components to look up a colour reference. But that wouldn't perfectly iden...
by pgimeno
Tue Jul 10, 2018 7:37 pm
Forum: Support and Development
Topic: love api reference in one page (for coding in the park etc)
Replies: 2
Views: 114

Re: love api reference in one page (for coding in the park etc)

Or is there any way anyone spiders the api or anything because it's useful to have an offline reference.... can you download the wiki at all in a zip or something? The wiki is available for download. The download link can be accessed from the Main_Page . I find the format quite inconvenient, though...
by pgimeno
Tue Jul 10, 2018 7:19 pm
Forum: General
Topic: Why faking 3D nowadays?
Replies: 46
Views: 6945

Re: Why faking 3D nowadays?

Welcome to the forums. Hello so I tried to remake Löve3D demos but I have problems with depth can someone show me what I am doing wrong? I tried rc example on this page and that one works well but I can not figure out why depth does not work in this. https://openfun.eu/owncloud/index.php/s/cogyBbnwe...