General discussion about LÖVE, Lua, game development, puns, and unicorns.
- Posts: 1
- Joined: Mon Apr 15, 2019 1:06 am
Apologies if this question has been answered before. Didn't find anything else surprisingly. Last time a used Love was 0.8.0 so I am figuring out what has changed since then. Quite a bit which is very nice to see.
Looking at the changelog, one of these things is almost transparent DPI but almost nothing is said about it.
From 11.0 changelog
Changed high-dpi functionality to require much less code (often none at all) for graphics to appear at the correct sizes and positions.
From 0.9.1 changelog
Added high-dpi window support for Retina displays in OS X, via the 'highdpi' window flag.
Looking at the API, there is now DPI independent coords and pixel coords. The question I have is, what class of functions use pixel coords and which use DPI independent coords? I figure that all drawing operations (except things for pixel shaders) are done in DPI independent coords. The rest isn't clear to me. Thank you.
- Party member
- Posts: 1554
- Joined: Sun Oct 18, 2015 2:58 pm
ImageData works with pixels. Right off the bat I don't remember any others.
Users browsing this forum: Google [Bot] and 139 guests