Search found 3550 matches
- Tue Oct 02, 2018 7:18 am
- Forum: Support and Development
- Topic: Debugging during runtime?
- Replies: 2
- Views: 2050
Re: Debugging during runtime?
There are some debug libraries out there allowing you to enter commands. Here are a few: REPLer (for the system console, works in a separate thread, but the commands are executed in the main thread): https://github.com/bartbes/love-misc-libs/blob/master/repler/docs.md Lovebird (includes a mini-webse...
- Fri Sep 28, 2018 11:05 pm
- Forum: Support and Development
- Topic: Reducing packaged game size
- Replies: 3
- Views: 5070
Re: Reducing packaged game size
You can try porting your game to love-0.6.2, which is under 1 Mb when stripped and either zipped or compressed with UPX.
- Fri Sep 28, 2018 12:21 am
- Forum: General
- Topic: Is C compatible with Love2D?
- Replies: 4
- Views: 7149
Re: Is C compatible with Love2D?
Not sure if this covers what you mean, but you can use many languages, including C, to write a dynamic library, and make bindings to it via LuaJIT's FFI library. Then you can use LÖVE's Lua to call any functions the library exports. However, that means the library will only work for the processor it...
- Thu Sep 27, 2018 3:05 pm
- Forum: Support and Development
- Topic: [Tutorial] How to get the best performance from LÖVE on Raspberry Pi
- Replies: 7
- Views: 8140
Re: [Tutorial] How to get the best performance from LÖVE on Raspberry Pi
I'm currently using the RetroPie LÖVE compile on a Pi3 and it works pretty well for me. Both 0.10 and 11.1 are available. I haven't tried molul's tutorial.
- Wed Sep 26, 2018 3:07 pm
- Forum: Support and Development
- Topic: Is there any list of LÖVE's environment variables?
- Replies: 5
- Views: 3576
Re: Is there any list of LÖVE's environment variables?
Got it. Well, this is a message generated by SDL through its logging subsystem. After a bit of research, I've come up with two possible ways of doing it (for Linux; it might or might not work in OSX and definitely won't work in Windows unless you load the right SDL dynamic library for the OS): local...
- Tue Sep 25, 2018 8:50 pm
- Forum: Support and Development
- Topic: Is there any list of LÖVE's environment variables?
- Replies: 5
- Views: 3576
Re: Is there any list of LÖVE's environment variables?
First, the bad news. I don't think there's such an environment variable. These things are normally handled through redirection of standard output or standard error. In Bourne shells (sh, bash...) that's done with > for standard output and with 2> for standard error. The typical place to send the out...
- Mon Sep 24, 2018 6:15 pm
- Forum: Support and Development
- Topic: HTTPS (SSL/TLS) requests
- Replies: 2
- Views: 2606
Re: HTTPS (SSL/TLS) requests
Not without the luasec binary module, to my knowledge. viewtopic.php?f=4&t=85389
- Mon Sep 24, 2018 10:35 am
- Forum: Support and Development
- Topic: Sample average of multiple canvases.
- Replies: 3
- Views: 3334
Re: Sample average of multiple canvases.
You're welcome! After reviewing the blend formulas, I've noticed that you don't even need the canvas (maybe you need it anyway for other operations, but for just the averaging it's not necessary): love.graphics.setBlenderMode("alpha", "alphamultiply") love.graphics.setColor(1, 1,...
- Sun Sep 23, 2018 7:59 pm
- Forum: Support and Development
- Topic: Sample average of multiple canvases.
- Replies: 3
- Views: 3334
Re: Sample average of multiple canvases.
You don't need a shader. If you have say 6 images to average, you can use this: -- Prepare the canvas and draw mode love.graphics.setCanvas(averageCanvas) love.graphics.clear(0, 0, 0, 0) love.graphics.setBlenderMode("alpha", "alphamultiply") -- Draw the images, each with an alpha...
- Sat Sep 22, 2018 1:12 pm
- Forum: Support and Development
- Topic: Help with FPS capped at 20 for Love2D.
- Replies: 3
- Views: 2333
Re: Help with FPS capped at 20 for Love2D.
How many FPS do you get when you disable vsync?
Code: Select all
love.window.setMode(love.graphics.getWidth(), love.graphics.getHeight(), {vsync = false})