Search found 3087 matches

by zorg
Thu Apr 08, 2021 6:31 am
Forum: General
Topic: Server move incoming, expect a little bit of downtime
Replies: 15
Views: 4814

Re: Server move incoming, expect a little bit of downtime

The font size on the wiki is now suddenly much bigger than it is in the forums. Please make them the same size, so that one common browser zoom factor can be used for forum and wiki. Both are served from the same domain, so you now have to switch between zoom levels every time, if you prefer a cert...
by zorg
Tue Apr 06, 2021 8:27 am
Forum: General
Topic: Looking for algorithm like flood fill
Replies: 7
Views: 1098

Re: Looking for algorithm like flood fill

And how would you do the checking exactly? Floodfill kinda implies pixels, i don't think that's the way you want to handle this; since you just want to tell what room tiles are in, why not do one of two things: 1. use one (or more, potentially overlapping, if the rooms aren't rectangular) rectangles...
by zorg
Fri Apr 02, 2021 11:31 am
Forum: Support and Development
Topic: Multple Windows (love.window)
Replies: 8
Views: 1798

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... To cl...
by zorg
Thu Apr 01, 2021 2:28 pm
Forum: Support and Development
Topic: Multple Windows (love.window)
Replies: 8
Views: 1798

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: 8
Views: 1798

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: 1688

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: 5872

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: 5872

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: 10748

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: 2000

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...