Search found 3074 matches

by zorg
Thu Apr 01, 2021 2:28 pm
Forum: Support and Development
Topic: Multple Windows (love.window)
Replies: 7
Views: 794

Re: Multple Windows (love.window)

While I will probably go with a GUI library I am curious about running multiple Love apps. How would I go about running another Love app from inside of a currently running Love app? Would this be a portable solution (across OS). I did do this thing on the löve discord server as a test, it only uses...
by zorg
Wed Mar 31, 2021 11:46 pm
Forum: Support and Development
Topic: Multple Windows (love.window)
Replies: 7
Views: 794

Re: Multple Windows (love.window)

No, it's not possible with Löve (and I'm not sure but I think it's not possible on Windows for GL applications in general to open multiple windows). Some OpenGL-supporting emulators might beg to differ, but i'm not sure about the difference there, if one exists, to allow that kind of thing... Anoth...
by zorg
Mon Mar 29, 2021 12:19 pm
Forum: Support and Development
Topic: Resizing the window causes endless flashing
Replies: 7
Views: 1092

Re: Resizing the window causes endless flashing

Just use the callback that's available: https://love2d.org/wiki/love.resize
by zorg
Fri Mar 26, 2021 6:49 am
Forum: Support and Development
Topic: Enforce just one instance?
Replies: 21
Views: 4224

Re: Enforce just one instance?

A simple way would be to have your project create a file when opened, and delete it before it quits (there's a callback for the latter) Yes, I use this method too, although you have to check if that file is locked or not. If the file is there but it's not locked then the previous instance has eithe...
by zorg
Sun Mar 21, 2021 5:28 am
Forum: Support and Development
Topic: Enforce just one instance?
Replies: 21
Views: 4224

Re: Enforce just one instance?

A simple way would be to have your project create a file when opened, and delete it before it quits (there's a callback for the latter) The project should check before creating the file if it exists already or not, if it does, it's already running, and it could just shut itself down. Switching in th...
by zorg
Thu Mar 11, 2021 1:03 pm
Forum: General
Topic: Midi format music distortion
Replies: 14
Views: 10135

Re: Midi format music distortion

One could also reuse instruments by putting several songs within the same module, but Love can't be easily made to play just certain patterns from a module and stop. This is correct, unfortunately; the only solution would be a library that implements parsing modules and all the "advanced"...
by zorg
Thu Mar 04, 2021 8:13 am
Forum: General
Topic: How does Love load files in “fused” mode?
Replies: 3
Views: 1713

Re: How does Love load files in “fused” mode?

Hi and welcome to the forums! The same way it can read .love files that aren't fused; they are zip archives; fused executables are just the love executable and the project zip tacked onto the end; zips use footers, and the filesystem library löve uses (PHYSFS) mounts the fused exe (since it's just l...
by zorg
Tue Mar 02, 2021 10:31 pm
Forum: General
Topic: When are we going to see 0.12.0?
Replies: 14
Views: 7019

Re: When are we going to see 0.12.0?

There's also solutions to GUIs as well, but given how most of those libraries are incomplete (works in progress or or abandoned), it should say something about - how hard it is to make a -good- GUI library, and - why löve won't have one inbuilt; can't cater to everyone's tastes with it, so recommend...
by zorg
Mon Mar 01, 2021 1:12 pm
Forum: General
Topic: Download files straight from the game/program?
Replies: 9
Views: 5432

Re: Download files straight from the game/program?

Hi! I wanted some more help regarding this topic! What if I want to save a zip, then unmount it? Thanks, If the premise was that you just downloaded a zip, then you don't need to unmount it since you never mounted it in the first place. If it was instead about mounting a zip, saving something into ...
by zorg
Mon Feb 22, 2021 4:30 am
Forum: Support and Development
Topic: Assign a 'require' to an index arbitrarily?
Replies: 2
Views: 1074

Re: Assign a 'require' to an index arbitrarily?

Nothing simpler to solve, just put a return block_normal at the very end of your block_normal.lua file, that will return the table itself through require, not just whether the file was successfully required in or not. (filename and table name doesn't need to correlate necessarily, but here, it does)...