Search found 239 matches

by knorke
Fri Sep 22, 2023 1:47 am
Forum: General
Topic: newRectangleCollider wall acting...weird
Replies: 2
Views: 5183

Re: newRectangleCollider wall acting...weird

You call newRectangleCollider in love.update(), at least the other code visible in the video seems like stuff that would belong in update() But in the tutorial it is in love.load() Please always post code as text or attached file, video is okay to show the bug but for looking at the actual code it i...
by knorke
Tue Sep 19, 2023 6:06 pm
Forum: Support and Development
Topic: Efficient Mouse Interaction and Event Handling for Objects
Replies: 14
Views: 7533

Re: Efficient Mouse Interaction and Event Handling for Objects

Welcome, Maybe I misunderstand the question but do you know about tables? Instead of copy-pasting the same code for image1,image2,image3,... you only write it once. Then you use a loop to iterate through all images. http://lua-users.org/wiki/TablesTutorial Also, if you have lots of clickable images ...
by knorke
Thu Sep 07, 2023 6:16 pm
Forum: Games and Creations
Topic: Ironquiz (Also, why is it crashing?)
Replies: 4
Views: 8971

Re: Ironquiz (Also, why is it crashing?)

For me, my game crashed on Linux when running by love2d, too. This is the post I had made about it: https://love2d.org/forums/viewtopic.php?p=250375&hilit=crash#p250375 I do not remember anything more beside that, basically it seemed to happen when drawing too much stuff? And the same code never...
by knorke
Tue Sep 05, 2023 12:22 am
Forum: Games and Creations
Topic: Ironquiz (Also, why is it crashing?)
Replies: 4
Views: 8971

Re: Ironquiz (Also, why is it crashing?)

I vaguely remember encountering a crash bug in Love 11.3 that was fixed in 11.4.
Which version do you use?
by knorke
Mon Aug 21, 2023 12:24 am
Forum: Games and Creations
Topic: Dima Pulsar -II-
Replies: 30
Views: 84407

Re: Dima Pulsar -II-

And we thought evil AIs would be the evil thiefs!
by knorke
Thu Aug 17, 2023 8:28 am
Forum: General
Topic: ChatGPT proposes and creates a game in love2d ( artificial intelligence scares me )
Replies: 103
Views: 35509

Re: ChatGPT proposes and creates a game in love2d ( artificial intelligence scares me )

..And I more then enough sure, that even 50% of them (meaning, libraries authors) never mention origins of their: formulas, ideas, code snippets, etc or do it only partially. And nobody really questions that some parts of said code might be copy-paste or copy-paste with some remixing (like, formatt...
by knorke
Wed Aug 16, 2023 9:43 pm
Forum: General
Topic: ChatGPT proposes and creates a game in love2d ( artificial intelligence scares me )
Replies: 103
Views: 35509

Re: ChatGPT proposes and creates a game in love2d ( artificial intelligence scares me )

But you can not trust the license of chatGPT content. All its 'created' content is remixed from unknown sources witht unknown licenses.
by knorke
Wed Aug 16, 2023 7:10 pm
Forum: Support and Development
Topic: body:getContacts() returns contacts for bodies that do not touch?
Replies: 1
Views: 601

Re: body:getContacts() returns contacts for bodies that do not touch?

Hello there In the box2D docu I found: http://www.iforce2d.net/b2dtut/collision-anatomy A very important point to note if you do this, is that the existence of a contact in these lists does not mean that the two fixtures of the contact are actually touching - it only means their AABBs are touching. ...
by knorke
Wed Aug 16, 2023 6:37 pm
Forum: Games and Creations
Topic: Dima Pulsar -II-
Replies: 30
Views: 84407

Re: Dima Pulsar -II-

Plays nicely. The spaceship reminds me of the ship from Descent series.
My highest score was 13000.
by knorke
Wed Aug 16, 2023 6:32 pm
Forum: Support and Development
Topic: body:getContacts() returns contacts for bodies that do not touch?
Replies: 1
Views: 601

body:getContacts() returns contacts for bodies that do not touch?

I seem to have a problem with contacts in box2d physics. body:getContacts() returns contacts for bodies that are close but not touching. A contact is returned when the distance between them is still roughly half their size. I tried circleShapes and polygonShapes. world:getContactList() seems to work...