Search found 8 matches

by FreeTom
Fri Apr 12, 2024 1:33 pm
Forum: Libraries and Tools
Topic: Global environment browser
Replies: 3
Views: 819

Re: Global environment browser

Oof, I didn't even think about people using it on mobile. Glad to see you like it even though half of it is off the screen.
by FreeTom
Fri Apr 12, 2024 12:06 pm
Forum: Libraries and Tools
Topic: Global environment browser
Replies: 3
Views: 819

Global environment browser

Possibly not much use to a lot of people but I found myself wanting to interrogate LÖVE to see all the modules and variables and ended up making this little browser. Click on the name of any table to drill down. "But," I hear you ask, "if I wanted to know that stuff, why wouldn't I ju...
by FreeTom
Sun Apr 11, 2021 9:22 am
Forum: Support and Development
Topic: Optional joystick controls
Replies: 3
Views: 6362

Re: Optional joystick controls

Ah! Okay, maybe I should have thought of that.

Thanks for your help.
by FreeTom
Thu Apr 08, 2021 9:37 pm
Forum: Support and Development
Topic: Optional joystick controls
Replies: 3
Views: 6362

Optional joystick controls

Hi all, I want to have my game use a joystick if it's plugged in but not crash if it's not. So for instance I currently have things like: if joystick:isGamepadDown("dpleft") or love.keyboard.isDown("left") then -- move left end This means if my controller is plugged in I can use ...
by FreeTom
Wed Aug 19, 2015 7:15 pm
Forum: Libraries and Tools
Topic: Orbiting and Body Physics
Replies: 6
Views: 6104

Re: Orbiting and Body Physics

Aha! Thanks, Ivan - probably should have been able to work that out myself. For any (other) beginners who stumble upon this and wonder what exact difference is might make, here's the comparison of the final resting positions from my script in which lots of little circles gravitate towards a big one:...
by FreeTom
Wed Aug 19, 2015 1:28 pm
Forum: Libraries and Tools
Topic: Orbiting and Body Physics
Replies: 6
Views: 6104

Re: Orbiting and Body Physics

Reviving a long-dead thread here, I know, but this isn't quite right. I've been trying to make orbitty things and I've been doing it exactly this kind of wrong and was hoping this code would correct me. Alas, no. Here's how the velocity is updated: if planet.position.x < star.position.x then planet....
by FreeTom
Mon Aug 17, 2015 5:37 pm
Forum: General
Topic: Is there windows builds of 0.10 (1.0?) available somewhere?
Replies: 3
Views: 2196

Re: Is there windows builds of 0.10 (1.0?) available somewhe

I don't think it is effectively 1.0, double-figure decimals are just a slightly awkward necessity that happens with naming software versions after you get to version x.9 but aren't changing the software significantly enough for it to count as a new major version. Still, I think more OSS projects sho...
by FreeTom
Mon Aug 17, 2015 1:31 pm
Forum: Libraries and Tools
Topic: Particle effect from primitive shapes
Replies: 9
Views: 7237

Particle effect from primitive shapes

Hi all, I've been playing with Love2D for about a month now and couldn't find code for a nice simple example of a particle effect made from basic shapes rather than loaded images. So, now I've managed to make one, I thought I'd post it for the benefit of others: -------------------------------------...