Giter Site home page Giter Site logo

Comments (10)

radgeRayden avatar radgeRayden commented on August 25, 2024 1

Yes, love.exe or the fused one.

How can I do it also with linux? I'm using wayland. Or can I do it through love2d directly?

On wayland the highdpi flag does work (I just tested it), but love does not use wayland by default. You need to force it (at your own risk) with the SDL_VIDEODRIVER=wayland,x11 (note the x11 fallback) environment variable, which you can add to a wrapper script.

PS: note that the AppImage is not compiled with Wayland support at all and will always run under XWayland for the moment.

from love.

radgeRayden avatar radgeRayden commented on August 25, 2024

LÖVE on Linux X11 doesn't take into account desktop scaling at all, whereas on windows if you're not dpi aware (hidpi flag in love.conf) (innacurate, sorry) the system will scale your window by multiplying the window size by the scale factor while stretching the backbuffer. Consider asking for support in the discord server or forums for further help on this.

from love.

rafaeljacov avatar rafaeljacov commented on August 25, 2024

LÖVE on Linux X11 doesn't take into account desktop scaling at all, whereas on windows if you're not dpi aware (hidpi flag in love.conf) the system will scale your window by multiplying the window size by the scale factor while stretching the backbuffer. Consider asking for support in the discord server or forums for further help on this.

are you referring to t.window.highdpi?

from love.

radgeRayden avatar radgeRayden commented on August 25, 2024

Correct.

from love.

MikuAuahDark avatar MikuAuahDark commented on August 25, 2024

LOVE 11 on Windows is not manifested to support high DPI (because it's not supported), thus the OS will upscale the window resulting in blurry images. You need to either change the application properties to force "Application" scaling or use 100% DPI scaling.

from love.

rafaeljacov avatar rafaeljacov commented on August 25, 2024

LOVE 11 on Windows is not manifested to support high DPI, thus the OS will upscale the window resulting in blurry images. You need to either change the application properties to force "Application" scaling or use 100% DPI scaling.

how can I force application scaling?

from love.

MikuAuahDark avatar MikuAuahDark commented on August 25, 2024

Open LOVE executable properties (not the shortcut) -> Compatibility Tab -> Change High DPI settings -> tick "Override high DPI scaling behavior" and select "Application" for the dropdown.

Ok on everything. You need to restart LOVE (or your game) afterwards though. You also need to tell everyone who have your game about this too.

gambar

from love.

rafaeljacov avatar rafaeljacov commented on August 25, 2024

Thanks but the game is distributed in a zip file so there's no love.exe. Is it possible to do it with the game.exe instead?

from love.

MikuAuahDark avatar MikuAuahDark commented on August 25, 2024

Yes, love.exe or the fused one.

from love.

rafaeljacov avatar rafaeljacov commented on August 25, 2024

Yes, love.exe or the fused one.

How can I do it also with linux? I'm using wayland. Or can I do it through love2d directly?

from love.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.