Search found 16 matches

by ki
Wed Aug 26, 2020 9:58 am
Forum: Support and Development
Topic: Trying to get the real desktop size (in pixels) on macOS and Windows
Replies: 6
Views: 6010

Re: Trying to get the real desktop size (in pixels) on macOS and Windows

In other cases, that would be possible. But executing a shell command from Löve means that the command is executed after the Löve application has already started and is running. In this case, the command (which tells Windows to run the following executables as high-DPI) needs to be run before starti...
by ki
Tue Aug 25, 2020 3:30 pm
Forum: Support and Development
Topic: Trying to get the real desktop size (in pixels) on macOS and Windows
Replies: 6
Views: 6010

Re: Trying to get the real desktop size (in pixels) on macOS and Windows

To setup "high-dpi" mode permanently I use that .bat file: REG ADD "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /V "D:\<path_to_my_love>\love.exe" /T REG_SZ /D ~HIGHDPIAWARE /F Yes, that's also possible. This creates a Windows registry entr...
by ki
Wed Aug 19, 2020 2:58 pm
Forum: Libraries and Tools
Topic: Slab - An Immediate Mode GUI Library In Lua
Replies: 98
Views: 275601

Re: Slab - An Immediate Mode GUI Library In Lua

Thank you for this library, coding.jackalope! Here's a bug report regarding short mouse clicks. Slab doesn't register most of the clicks I do with my trackpad. If a mouse click is very short, which means that the interval between "mouse button is pressed down" and "mouse button is rel...
by ki
Fri Aug 07, 2020 8:51 am
Forum: Support and Development
Topic: Trying to get the real desktop size (in pixels) on macOS and Windows
Replies: 6
Views: 6010

Re: Trying to get the real desktop size (in pixels) on macOS and Windows

AuahDark wrote: Thu Aug 06, 2020 2:01 am For the macOS problem, you can always love.graphics.scale(1 / love.graphics.getDPIScale) before drawing. Not sure if that's sufficient for you.
You mean, to draw at 100 % pixel scale? Yes, but regardless of that I'm still unable to query the macOS desktop dimensions in real pixels.
by ki
Tue Aug 04, 2020 2:12 pm
Forum: Support and Development
Topic: Trying to get the real desktop size (in pixels) on macOS and Windows
Replies: 6
Views: 6010

Trying to get the real desktop size (in pixels) on macOS and Windows

Hi! I'm trying to get the real desktop size in pixels, independent from any High DPI (Windows) or Retina (macOS) scaling. I need this in order to talk to a third-party library which needs the real desktop dimensions. Windows: As slime has said in several threads, Löve on Windows still doesn't suppor...
by ki
Tue Aug 04, 2020 10:54 am
Forum: Support and Development
Topic: How to draw color emojis with love.graphics.print()
Replies: 38
Views: 28424

Re: How to draw color emojis with love.graphics.print()

Update: color fonts are currently not supported in Löve. There's a (closed) change issue here: https://github.com/love2d/love/issues/1195 I guess it's possible to first convert emojis to images (with this tool for example: https://onlineunicodetools.com/convert-emoji-to-image) and then using these i...
by ki
Sun Jul 05, 2020 12:52 am
Forum: Support and Development
Topic: How to draw color emojis with love.graphics.print()
Replies: 38
Views: 28424

How to draw color emojis with love.graphics.print()

Hi! Is it possible to draw color emojis with love.graphics.print(), and if yes, how? I couldn't get this attempt to work. main.lua: local mainFont = love.graphics.newFont("Helvetica.ttc", 10) local mainFontHasGlyphs = mainFont:hasGlyphs("👋") print("Helvetica has waving hand ...
by ki
Sun Jan 10, 2016 2:36 am
Forum: General
Topic: Post-0.10.0 feature wishlist
Replies: 177
Views: 91868

Re: Post-0.10.0 feature wishlist

I'd love to see support for multiple mice. I want to develop a strategy game for two players on one PC, both simultaneously using a mouse. Back when SDL 2.0 was released, SDL contributor Ryan Gordon said something along the lines that multi-mouse support was being requested by lots of people, so I h...
by ki
Wed Apr 08, 2015 3:23 pm
Forum: Libraries and Tools
Topic: Pixel art 2d lighting concept
Replies: 3
Views: 6430

Re: Pixel art 2d lighting concept

Here you are.

The only differences in main.lua are:

setDefaultImageFilter renamed to setDefaultFilter
newPixelEffect renamed to newShader
by ki
Sun Jan 25, 2015 1:13 am
Forum: Games and Creations
Topic: BLUE REVOLVER [full ver released!]
Replies: 10
Views: 11632

Re: BLUE REVOLVER

yeah i'm very much against adding a shop or progression like that, though there'll be a lot of ship configurations to choose from (alternate special weapons, main gun, speed, bomb type etc) - i'm just simply not a fan of the design and would rather focus on core gameplay. By all means design the ga...