Search found 3551 matches
- Fri Nov 17, 2023 6:42 pm
- Forum: Games and Creations
- Topic: Gravity Circuit
- Replies: 14
- Views: 12750
Re: Gravity Circuit
I am definitely not a fan of the genre, but it looked impressive to me either way. So much so that I mentioned it to a friend, and he bought it to run it on his Mac. He showed it to me; one problem was that the resource loading was very slow, so I took a look at the code. I found out that you're usi...
- Fri Nov 17, 2023 6:29 pm
- Forum: Support and Development
- Topic: What's point of timeout?
- Replies: 1
- Views: 2382
Re: What's point of timeout?
I haven't looked into lua-enet, but if that timeout is what I think it is (i.e. internally passed to a select() call) then it's intended for pausing the thread until either something is received, or the timeout expires, whichever comes first. It's useful in the case of a multithreaded application wi...
- Wed Nov 15, 2023 7:25 am
- Forum: General
- Topic: Windfield and Tiled. Dynamically change tiles
- Replies: 3
- Views: 3407
- Fri Nov 10, 2023 5:09 pm
- Forum: Libraries and Tools
- Topic: moonODE (Open Dynamics Engine (ODE)) bindings
- Replies: 17
- Views: 72886
Re: moonODE (Open Dynamics Engine (ODE)) bindings
I said:
Alas, that won't work. You need a different name, otherwise it compiles to the same thing.pgimeno wrote: ↑Fri Nov 10, 2023 12:07 am You can replace them all at once, by overriding the default pairs() function with this one:
Code: Select all
function pairs(t) return next, t, nil end
Code: Select all
function xpairs(t)
return next, t, nil
end
- Fri Nov 10, 2023 12:07 am
- Forum: Libraries and Tools
- Topic: moonODE (Open Dynamics Engine (ODE)) bindings
- Replies: 17
- Views: 72886
Re: moonODE (Open Dynamics Engine (ODE)) bindings
I believe he meant:
can be replaced with:
You can replace them all at once, by overriding the default pairs() function with this one:
Code: Select all
for k,v in pairs(t) do
Code: Select all
for k,v in next,t do
Code: Select all
function pairs(t)
return next, t, nil
end
- Thu Nov 09, 2023 2:51 pm
- Forum: Libraries and Tools
- Topic: moonODE (Open Dynamics Engine (ODE)) bindings
- Replies: 17
- Views: 72886
Re: moonODE (Open Dynamics Engine (ODE)) bindings
I believe lovr supports traditional 3D without a VR headset (just so you know; since you already have ODE it seems you're all set anyway)
- Thu Nov 09, 2023 12:30 pm
- Forum: Libraries and Tools
- Topic: moonODE (Open Dynamics Engine (ODE)) bindings
- Replies: 17
- Views: 72886
Re: moonODE (Open Dynamics Engine (ODE)) bindings
The problem with binary libraries is platform support. I don't have a windows machine to check it.
Anyway, lovr has built-in 3D physics (although lovr doesn't work well on my machine for some reason).
Anyway, lovr has built-in 3D physics (although lovr doesn't work well on my machine for some reason).
- Mon Nov 06, 2023 7:33 am
- Forum: Support and Development
- Topic: [solved] why does love.filesystem.getInfo return nil on a file that is definitely there?
- Replies: 6
- Views: 2313
- Sun Nov 05, 2023 6:26 pm
- Forum: Support and Development
- Topic: More filesystem questions
- Replies: 5
- Views: 6350
Re: More filesystem questions
EAFP (Easer to ask for forgiveness than permission)
- Sun Nov 05, 2023 6:14 pm
- Forum: General
- Topic: Code Doodles!
- Replies: 197
- Views: 269137
Re: Code Doodles!
To get back on topic, I was watching a video about an Arkanoid-type game which abuses physics, and found it very interesting, so I tried to reproduce the setup of one of the levels (level 3, minute 4:35 in the video) with Löve using love.physics. The result, while not as polished, was mesmerizing en...