Search found 4831 matches

by bartbes
Wed Sep 05, 2018 7:05 pm
Forum: Libraries and Tools
Topic: love-steam - Steamworks integration for LÖVE
Replies: 6
Views: 798

Re: love-steam - Steamworks integration for LÖVE

replace: __declspec(dllexport) with: __attribute__((visibility("default"))) I would assume, considering you're setting the visibility to default, that you can simply remove the declspec, and it will work. I was then able to compile into an .so by using: gcc -fPIC love_steam.cpp -shared -o love_stea...
by bartbes
Sun Sep 02, 2018 8:04 pm
Forum: Support and Development
Topic: Conditional tweening confusion
Replies: 2
Views: 125

Re: Conditional tweening confusion

The exact symptoms you're describing are.. weird, but I'm fairly sure I know what the issue is: you're creating a new tween every frame. You probably want something like this: Timer = require 'hump.timer' function love.load() color = {0, 255, 0} end function love.update(dt) Timer.update(dt) end func...
by bartbes
Sun Sep 02, 2018 4:53 pm
Forum: Support and Development
Topic: What Luajit Version does Löve 11.1 use?
Replies: 7
Views: 346

Re: What Luajit Version does Löve 11.1 use?

Like I said in irc: that depends on your os, unfortunately but last I checked desktops were on latest 2.0, phones were on the 2.1 beta I should also mention that on linux it uses whatever your system provides, so if you have luajit 2.1.0-beta3 installed, it will use that. As an aside, the bbcode for...
by bartbes
Sun Aug 26, 2018 10:39 am
Forum: Support and Development
Topic: Lua/Löve2D newbie - need help understanding problem with loading graphics
Replies: 4
Views: 204

Re: Lua/Löve2D newbie - need help understanding problem with loading graphics

That code should work, do you have other code that may affect this? Have you tried running without mobdebug?
by bartbes
Sun Aug 26, 2018 8:17 am
Forum: Support and Development
Topic: Inconvenience: Errors upon unused shader uniforms
Replies: 4
Views: 228

Re: Inconvenience: Errors upon unused shader uniforms

The graphics driver does this optimisation, without love being able to affect it, so the uniforms are gone either way. So now the option is to either ignore all uniform errors, or error for all of them, and love chooses the safest option.
by bartbes
Sat Aug 25, 2018 5:05 pm
Forum: Support and Development
Topic: Transparent Background Video
Replies: 1
Views: 108

Re: Transparent Background Video

Transparent in what way? If you just want every part to be equally transparent, you can use setColor as usual. If not, you probably need to write a shader.
by bartbes
Sat Aug 04, 2018 8:24 am
Forum: Support and Development
Topic: Can I save an image loaded with love.graphics.newImage() as png?
Replies: 6
Views: 320

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

Yes, but not easily. I think you have to draw the Image to a Canvas, then get ImageData from that. Then you can use the ImageData:encode function to save it.
by bartbes
Sat Aug 04, 2018 8:22 am
Forum: Support and Development
Topic: Runing love2d inside python
Replies: 2
Views: 211

Re: Runing love2d inside python

It looks like lupa explicitly supports loading lua binary modules. So if you compile (lib)love against lupo it might work.
by bartbes
Sat Aug 04, 2018 8:16 am
Forum: Support and Development
Topic: [Solved] Help Building Love2D from Source
Replies: 3
Views: 505

Re: Help Building Love2D from Source

I remember looking at this a while back, it looks like msvc changed its standard library in an incompatible way again. Omitting that line is indeed a possible fix, and it might be the one I end up going for.
by bartbes
Tue Jul 10, 2018 5:13 pm
Forum: Support and Development
Topic: Help, I upgraded to 11.1 and now everything's fucked
Replies: 3
Views: 372

Re: Help, I upgraded to 11.1 and now everything's fucked

Okay, let's do this one by one.. I decided to upgrade and adapt my game so it would be compatible. Once I did this, trying to run love resulted in the error: love: error while loading shared libraries: liblove-11.1.so: cannot open shared object file: No such file or directory I'm guessing you're run...