Search found 287 matches

by Bigfoot71
Mon Apr 10, 2023 4:34 pm
Forum: Support and Development
Topic: [SOLVED] Running with Scissors (Scissors causing flickering)
Replies: 12
Views: 2518

Re: Running with Scissors

First I will check for driver updates, otherwise I found this page which talks about it for OpenGL and which describes the same problem as you, it would apparently be a double buffering problem. https://anirudhsasikumar.net/blog/2006.03.04.html However, I don't currently see how to replicate what is...
by Bigfoot71
Mon Apr 10, 2023 4:10 pm
Forum: Support and Development
Topic: [SOLVED] Running with Scissors (Scissors causing flickering)
Replies: 12
Views: 2518

Re: Running with Scissors

Here is the result for me, I have no flickering unless I misunderstood the problem:
Image
by Bigfoot71
Mon Apr 10, 2023 1:59 pm
Forum: Support and Development
Topic: SAT with concave/complex polygon for collision response
Replies: 14
Views: 4143

Re: SAT with concave/complex polygon for collision response

Thank you very much for your suggestion, indeed I managed to implement collision detection between concave polygons earlier, but to obtain the right displacement vector and distance, it's still the same struggle... Here's my current draft (I've been tinkering with it since earlier, sorry if there's ...
by Bigfoot71
Sat Apr 08, 2023 10:08 pm
Forum: Support and Development
Topic: How to delete a body ???
Replies: 3
Views: 1039

Re: How to delete a body ???

I may have misunderstood but Body:destroy ?
by Bigfoot71
Sat Apr 08, 2023 8:03 pm
Forum: Support and Development
Topic: Attempt to call upvalue "error_result" from xpcall
Replies: 1
Views: 906

Re: Attempt to call upvalue "error_result" from xpcall

At a glance what I find strange is that in your first piece of code line 20 there is: error_result = result Result which is supposed to be a character string precisely if I understand correctly, and at the beginning of this same example you do: local result = error_result() So since we don't have th...
by Bigfoot71
Sat Apr 08, 2023 4:08 pm
Forum: Support and Development
Topic: supervision of my first game(pong)
Replies: 32
Views: 6296

Re: supervision of my first game(pong)

I will make an analogy with cooking, there is not a single right way to make spaghetti, everyone will have their recipe, one will surely be better than the other, and as long as you haven't put three tons of salt for fear that it won't be salty enough, it will remain nourishing, and that's the most ...
by Bigfoot71
Sat Apr 08, 2023 11:42 am
Forum: Libraries and Tools
Topic: Polygon management library
Replies: 6
Views: 3837

Re: Polygon management library

Thank you for your messages, it's true that I hesitated to post here, I thought there would be more context at hand, I reposted in the right sub-forum if interested. https://love2d.org/forums/viewtopic.php?f=4&t=94468
by Bigfoot71
Sat Apr 08, 2023 11:40 am
Forum: Support and Development
Topic: SAT with concave/complex polygon for collision response
Replies: 14
Views: 4143

SAT with concave/complex polygon for collision response

Hello everyone :D After having made several more or less successful attempts to solve the problem of collision between any polygons, whether between convex, non-convex or even complex polygons, I would like to know your opinion on the subject and how you would approach this problem. I have already d...
by Bigfoot71
Sat Apr 08, 2023 1:21 am
Forum: Support and Development
Topic: Fast way to blur image
Replies: 6
Views: 2335

Re: Fast way to blur image

To adjust the blur radius in your case, you will need to change the pre-calculated kernel that you are using (weight), either by using a larger matrix or by using a shader that does not use a pre-calculated matrix, which will be slower. Here's an example I made based on yours and one I made before. ...
by Bigfoot71
Fri Apr 07, 2023 11:44 pm
Forum: Libraries and Tools
Topic: Polygon management library
Replies: 6
Views: 3837

Re: Polygon management library

Hey everyone, I'm coming back here following some additions and optimizations made on this module but I'm currently stuck on one point if anyone can help me. I can't seem to find a way to handle the repositioning of concave polygons as efficiently as for convex polygons, here is an example. The repl...