Search found 2821 matches

by slime
Fri May 22, 2020 12:47 am
Forum: Support and Development
Topic: [SOLVED] Using a video crashes Love
Replies: 5
Views: 289

Re: Using a video crashes Love

mp4 videos aren't supported by love - currently it only supports Ogg Theora (which normally has the .ogv extension).
by slime
Mon May 18, 2020 11:04 pm
Forum: Support and Development
Topic: Love2d Mac Setup
Replies: 3
Views: 318

Re: Love2d Mac Setup

Assuming you have a main.lua file containing some code (or even just an empty main.lua file), you can drag the folder containing main.lua onto the love app to run it.
by slime
Mon May 18, 2020 11:03 pm
Forum: Support and Development
Topic: ¿How to correctly work with dp's?
Replies: 2
Views: 112

Re: ¿How to correctly work with dp's?

love already uses DP units by default, so you should just be able to remove the toPixels call.
by slime
Mon May 18, 2020 2:48 pm
Forum: General
Topic: Love2D to switch
Replies: 3
Views: 255

Re: Love2D to switch

FYI lovepotion is a ground-up rewrite of love's APIs (rather than a port), with the purpose of running on homebrew operating systems for Nintendo hardware. It's not a tool that would let you sell a game on Switch or otherwise publish to Nintendo's services. There is at least one real port of love (0...
by slime
Sun May 17, 2020 10:49 pm
Forum: Support and Development
Topic: Incentive for DPI scaled units instead of pixel units ?
Replies: 5
Views: 311

Re: Incentive for DPI scaled units instead of pixel units ?

To me, this should only be done at the application/user level and not at the engine level, so I would be stuck without the option to disable it. Just to say that it matters to give that freedom, whatever the consensus. You've always been able to use pixel units when needed through love.graphics.get...
by slime
Sun May 17, 2020 7:33 pm
Forum: Support and Development
Topic: Incentive for DPI scaled units instead of pixel units ?
Replies: 5
Views: 311

Re: Incentive for DPI scaled units instead of pixel units ?

Pretty much all the major operating systems settled on the same way to expose keeping consistent spacing and sizing for apps when different devices of the same class have completely different pixel densities - that way is DPI scaled units, and it actually has little to do with real physical sizes in...
by slime
Wed Apr 22, 2020 1:44 am
Forum: Support and Development
Topic: LÖVE does not support iPhone 5 (?)
Replies: 4
Views: 590

Re: LÖVE does not support iPhone 5 (?)

Does it have the same problem on an actual device? The simulator may not match up with the device's behaviour for that sort of problem. love doesn't currently require any feature that the iPhone 5 can't provide. That being said, I wouldn't bother supporting such an old device, especially since its h...
by slime
Tue Apr 14, 2020 12:17 am
Forum: Support and Development
Topic: Direct mouse input?
Replies: 8
Views: 510

Re: Direct mouse input?

Not SDL_RenderSetLogicalSize specifcally, but love.mousemoved is down the event line from SDL_RendererEventWatch. Search for SDL_MOUSEMOTION in SDL_Render.c and you'll find this from current SDL build...note the conversion to integer on every line... [snip] These are the same xrel/yrel variables th...
by slime
Mon Apr 13, 2020 9:46 pm
Forum: Support and Development
Topic: Direct mouse input?
Replies: 8
Views: 510

Re: Direct mouse input?

love doesn't use SDL_RenderSetLogicalSize - or any other part of SDL_Render for that matter, so that bug doesn't apply to love. I've corrected my post to be more specific. What I originally meant by screen space was that they're locked to whole numbers ie. pixels. What I'm looking for is a mouse res...
by slime
Thu Apr 09, 2020 4:23 pm
Forum: Support and Development
Topic: Really high cpu% usage running love games on mac
Replies: 2
Views: 556

Re: Really high cpu% usage running love games on mac

How long ago did you download love for macOS? There was a bug in the original release of 11.3 for macOS which caused high CPU usage and was fixed a few months ago: https://love2d.org/forums/viewtopic.php?f=3&t=87538&start=30#p231275 If you're using the most up to date build with the fix, the 'versio...