Search found 509 matches

by dusoft
Sat Jul 29, 2023 5:44 pm
Forum: Support and Development
Topic: Sensor but with collision
Replies: 11
Views: 2341

Re: Sensor but with collision

So, to be more precise, in simplest situation, I need to have three entities - A, B, and W (wall), A and B collide with wall physically (bounce off, do not phase through it) and A and B need to be able to pass through each other with callbacks on, i.e. no collision but being able to detect if they ...
by dusoft
Sat Jul 29, 2023 8:50 am
Forum: Support and Development
Topic: Sensor but with collision
Replies: 11
Views: 2341

Re: Sensor but with collision

I would recommend using love.physics that allows sensors. Sensors will still trigger onCollision callback, but won't affect physics, so you are all set. Sensors do not allow for any physical collisions, but they do call onCollision callbacks, I still need the option to make entities collide with wa...
by dusoft
Fri Jul 28, 2023 7:49 am
Forum: Support and Development
Topic: Sensor but with collision
Replies: 11
Views: 2341

Re: Sensor but with collision

I would recommend using love.physics that allows sensors. Sensors will still trigger onCollision callback, but won't affect physics, so you are all set.
by dusoft
Fri Jul 21, 2023 8:43 am
Forum: General
Topic: windfield doesn't detect sensor object collision?
Replies: 5
Views: 5669

Re: windfield doesn't detect sensor object collision?

I believe this should be posted under Support. Also windfield is 6 years old and even archived on Github, which is a good sign to never use it. You can try using breezefield instead: https://github.com/HDictus/breezefield Thanks dusoft, I try breezefield and sorry for wrong topic, I thought support...
by dusoft
Thu Jul 20, 2023 9:22 pm
Forum: General
Topic: windfield doesn't detect sensor object collision?
Replies: 5
Views: 5669

Re: windfield doesn't detect sensor object collision?

Hi guys I use windfield and I need two objects to pass through each other, so I made one object as sensor object using setSensor funcion but I found windfield doesn't detect sensor object collision! I used collider:enter() in update function to detect collision but it doesn't work, I used preSolve ...
by dusoft
Tue Jul 18, 2023 8:08 pm
Forum: Libraries and Tools
Topic: Storylets and Love2d
Replies: 38
Views: 24604

Re: Storylets and Love2d

I like the same thing here (Conflict: Middle East) - newspaper headlines generated depending on the events:
Image
or
Image
by dusoft
Mon Jul 17, 2023 11:03 am
Forum: Support and Development
Topic: Black Screen
Replies: 7
Views: 2525

Re: Black Screen

GVovkiv wrote: Mon Jul 17, 2023 10:31 am
Aren't it by default 1, 1, 1, 1, so you don't need to manually use setColor?
It is so. But when nothing shows, first thing to debug is using different colors.
by dusoft
Sun Jul 16, 2023 1:44 pm
Forum: Support and Development
Topic: Black Screen
Replies: 7
Views: 2525

Re: Black Screen

hi i made this code. function love.draw() love.graphics.print("Hello World!", 0, 0) end already installed the newest version of love and have windows 11 and using this with visual studio code. i start the code like this. PS C:\Users\brotm> cd desktop PS C:\Users\brotm\desktop> love lovepr...
by dusoft
Fri Jul 14, 2023 3:22 pm
Forum: Support and Development
Topic: [SOLVED]How can I check if remote socket is terminated?
Replies: 4
Views: 1504

Re: How can I check if remote socket is terminated?

Solved by adding small amount of code below to client side. Thank you for everyone who checked and tried to help. local result = client:send("Hi!\n") if result ~= nil then print("Send data to server: Hi! ") else print("Oops. Something happened: Can't send data to server.&qu...