Comments (10)
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.
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.
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.
Correct.
from love.
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.
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.
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.
from love.
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.
Yes, love.exe or the fused one.
from love.
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)
- Physics fixture/shape :setMask bits are inverted in love compared to box2d HOT 1
- setColor and setBackgroundColor color component values don't work when using ranges 0-255 HOT 3
- love.graphics.drawLayer() does not work. HOT 3
- Differences between repository and *-linux-src.tar.gz HOT 2
- When I boot up love2d it just shows an duck balloon with an rope saying "no game". HOT 1
- "love.keyboard.isDown" can't detect single letter key input HOT 6
- Android: `love.window.getSafeArea()`: returns same dimensions on a display with cutouts HOT 4
- `love.keyboard.isDown` does not properly detect remapped input HOT 1
- how to create virtual joystick for a love2d simulator HOT 9
- System error - The code executioncannot proceed beacuse love.dll was not found HOT 2
- Built in mechanism to access SDL hints? HOT 2
- [Request] Add support for custom resolve of MSAA buffers
- [Bug] Sequence animation rendering failed on Raspberry Pi HOT 3
- [Request] Support for video types other than Theora? HOT 2
- [Windows] Audio quality regression on LÖVE 11.3+ HOT 3
- Notarization for stock macOS build HOT 3
- [Request] Add conf.lua option to enable touchpad touch events on macOS HOT 2
- Drawing a canvas with text leads to blurry, shadowed text HOT 1
- Love 12: newImage return type fails typeOf(Image) check, claims it's Texture HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from love.