Search found 22 matches

by FloatingBanana
Fri Jan 31, 2020 10:06 pm
Forum: Support and Development
Topic: "Not enough space" error when printing a string
Replies: 12
Views: 11817

"Not enough space" error when printing a string

I'm making something like Undertale dialogs, and my code is basically this: local step = 0 local text = "this is a random text" function love.load() love.graphics.setNewFont(30) end function love.update(dt) step = math.min(step + 20 * dt, #text) end function love.draw() local sub = string....
by FloatingBanana
Wed Aug 21, 2019 7:16 pm
Forum: Libraries and Tools
Topic: NoHighDPI - Disable High DPI on Android devices
Replies: 1
Views: 4929

NoHighDPI - Disable High DPI on Android devices

It's my first post in this community, sorry for anything :3 High DPI scaling on Android is very annoying, especially when you use both the Windows and Android to work with the same project. There is a trick to solve this using love.window.fromPixels and love.window.toPixels , so I made this library ...