Search found 2550 matches

by pgimeno
Sun Apr 11, 2021 1:18 pm
Forum: Support and Development
Topic: If statement and Goto
Replies: 27
Views: 674

Re: If statement and Goto

darkfrei wrote: Sun Apr 11, 2021 11:39 am
pgimeno wrote: Sun Apr 11, 2021 11:04 am I wrote about one way of dealing with states, starting here: https://love2d.org/forums/viewtopic.php ... 26#p194226

Take a look, see if that helps you wrap around your head around it.
How I can understand which stete is enabled?
Do you mean for debugging? You can add a 'name' field.
by pgimeno
Sun Apr 11, 2021 11:04 am
Forum: Support and Development
Topic: If statement and Goto
Replies: 27
Views: 674

Re: If statement and Goto

I wrote about one way of dealing with states, starting here: https://love2d.org/forums/viewtopic.php ... 26#p194226

Take a look, see if that helps you wrap around your head around it.
by pgimeno
Sat Apr 10, 2021 4:37 pm
Forum: Games and Creations
Topic: SnowFlakes
Replies: 3
Views: 86

Re: SnowFlakes

Brings memories of Track & Field, hehe. Nice. Level 14 might be the maximum humanly possible in a decent graphics card (I got there too; my spacebar is going to sue me for abuse), but by setting love.keyboard.setKeyRepeat(true) it can be shown that it's not the maximum level attainable. In my de...
by pgimeno
Sat Apr 10, 2021 3:15 pm
Forum: General
Topic: Physics and dt
Replies: 1
Views: 77

Re: Physics and dt

The force applied by applyForce should not be multiplied by dt in principle. It lasts the duration of dt that you pass to world:update(); if you want it to be applied for longer, you have to apply it multiple times.
by pgimeno
Sat Apr 10, 2021 2:40 pm
Forum: General
Topic: Checking if anyone has got JUMPER to work recently?
Replies: 8
Views: 176

Re: Checking if anyone has got JUMPER to work recently?

The original source was started in 2012; by comparison, Löve was started in 2007, so by that standard, Jumper is 5 years more modern than Löve. Last commit to Jumper is from October 2019, less than 2 years ago. For comparison, Löve 11.0 was released in April 2018, three years ago. Even more, Jumper ...
by pgimeno
Sat Apr 10, 2021 11:30 am
Forum: General
Topic: Checking if anyone has got JUMPER to work recently?
Replies: 8
Views: 176

Re: Checking if anyone has got JUMPER to work recently?

Doesn't change the fact that all the githubs, forks and blogs are outdated except for LOVE Wiki. :) What? The Löve Wiki for Jumper points to the author's repository, which is the only authoritative source, unless it was forked because it was abandoned, which I don't think is the case for this proje...
by pgimeno
Thu Apr 08, 2021 1:26 pm
Forum: Support and Development
Topic: File paths: I've tried everything
Replies: 13
Views: 255

Re: File paths: I've tried everything

If that's what you want, maybe you can try this? package.cpath = love.filesystem.getSourceBaseDirectory() .. "/*.dll;" .. package.cpath sqlite3 = require 'lsqlite3' I don't know if love.filesystem.setCRequireDirectory() should be used instead. I haven't used binary packages. My guess is th...
by pgimeno
Thu Apr 08, 2021 12:43 pm
Forum: Support and Development
Topic: File paths: I've tried everything
Replies: 13
Views: 255

Re: File paths: I've tried everything

love.filesystem.getWorkingDirectory() tells you what the current directory is (what ./ is)-
by pgimeno
Thu Apr 08, 2021 10:18 am
Forum: Support and Development
Topic: File paths: I've tried everything
Replies: 13
Views: 255

Re: File paths: I've tried everything

The whole traceback would be interesting, to see if ./lsqlite3.dll has been tried. Also, the current working directory from the point of view of the application (edit: as returned by love.filesystem.getWorkingDirectory()). Lastly, I don't know whether Windows will always look in ./ for a DLL, but it...