Search found 264 matches

by molul
Mon Oct 01, 2018 11:23 am
Forum: Support and Development
Topic: Is there any list of LÖVE's environment variables?
Replies: 5
Views: 3577

Re: Is there any list of LÖVE's environment variables?

Wow! Thanks one more time, pgimeno :) I'll try that hopefully this evening.

EDIT: I struggled a bit with your suggestion, but I finally opted for commenting that line on the SDL source and rebuild all ^^U
by molul
Thu Sep 27, 2018 1:21 pm
Forum: Support and Development
Topic: [Tutorial] How to get the best performance from LÖVE on Raspberry Pi
Replies: 7
Views: 8144

Re: [Tutorial] How to get the best performance from LÖVE on Raspberry Pi

Well, maybe it was my project's fault (although I think it's pretty simple). Anyway, this way of building LÖVE will ensure it always opens fullscreen and uses opengles, and ignores x11 and opengl, which I think is preferable (maybe a more experienced user could confirm this).
by molul
Wed Sep 26, 2018 5:46 am
Forum: Support and Development
Topic: Is there any list of LÖVE's environment variables?
Replies: 5
Views: 3577

Re: Is there any list of LÖVE's environment variables?

Thanks a lot for the research, pgimeno! :) I get this error everytime I press a button (not the D-pad): INFO: The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> EVDEV KeyCode 304 However, the bu...
by molul
Tue Sep 25, 2018 6:56 pm
Forum: Support and Development
Topic: Is there any list of LÖVE's environment variables?
Replies: 5
Views: 3577

Is there any list of LÖVE's environment variables?

I'm talking about variables like "XDG_DATA_HOME", "LD_LIBRARY_PATH", "LOVE_GRAPHICS_OPENGLES", etc. I'm precisely looking for a variable that disables all console messages, as I'm getting some "false" errors from SDL that I'd like to remove from the console ou...
by molul
Tue Sep 25, 2018 4:52 pm
Forum: Support and Development
Topic: [Tutorial] How to get the best performance from LÖVE on Raspberry Pi
Replies: 7
Views: 8144

Re: [Tutorial] How to get the best performance from LÖVE on Raspberry Pi

Oh no ^_^U It was about building LÖVE to work as fine as possible. Most tutorials I've read about this rely on enabling the Rpi's experimental GL drivers, and I wanted to share how to make it run perfectly fine without that hack :)
by molul
Tue Sep 25, 2018 4:28 pm
Forum: Support and Development
Topic: [Tutorial] How to get the best performance from LÖVE on Raspberry Pi
Replies: 7
Views: 8144

Re: [Tutorial] How to get the best performance from LÖVE on Raspberry Pi

My pleasure :)
D0NM wrote: Tue Sep 25, 2018 4:11 pm PS Looking at your topic I got a wrong idea of the Lua-code optimization
at first.
What do you mean? Sorry, I didn't understand that ^^U
by molul
Tue Sep 25, 2018 9:03 am
Forum: Support and Development
Topic: [Tutorial] How to get the best performance from LÖVE on Raspberry Pi
Replies: 7
Views: 8144

[Tutorial] How to get the best performance from LÖVE on Raspberry Pi

EDIT: the project I had to build LÖVE on Raspberry for . Hi there! I thought I'd share how I recently built LÖVE for the Raspberry Pi with the best performance (or at least the best I've been able to achieve). I did this on a Raspberry Pi 2B running Raspbian Jessie Lite (command prompt only). I'm wo...
by molul
Tue Aug 07, 2018 7:34 am
Forum: Support and Development
Topic: Can I save an image loaded with love.graphics.newImage() as png?
Replies: 6
Views: 5661

Re: Can I save an image loaded with love.graphics.newImage() as png?

Thanks! Unfortunately, that doesn't seem to unload the image from memory :( I'm dropping this feature, and will only allow images below 200KB instead, without resizing and overwriting them. I've also managed to get the maximum texture memory I can use before the system crashes. Not ideal, but good e...
by molul
Sun Aug 05, 2018 8:04 pm
Forum: Support and Development
Topic: Can I save an image loaded with love.graphics.newImage() as png?
Replies: 6
Views: 5661

Re: Can I save an image loaded with love.graphics.newImage() as png?

Well, I overwrite them so next time load time is lower. The images are stored in the app directory, but as the app is running on a Linux system, I can just call os.execute("mv...") to put it where I need (a directory in the SD card). On the other hand, now you mention, I can't seem to disc...
by molul
Sat Aug 04, 2018 8:42 am
Forum: Support and Development
Topic: Can I save an image loaded with love.graphics.newImage() as png?
Replies: 6
Views: 5661

Re: Can I save an image loaded with love.graphics.newImage() as png?

Oh, so encode does write the imagedata! Cool. I'll try that. Thanks a lot!

EDIT: it worked like a charm. Thanks again! :)