Search found 41 matches

by farzher
Thu Feb 23, 2017 3:20 am
Forum: Support and Development
Topic: returning table from love.thread
Replies: 7
Views: 3687

Re: returning table from love.thread

That's all very interesting, but also very confusing. If it's possible could someone put a simple example code for it? I tried for now just sending serialized table data back, but I'm sometimes getting a stackoverflow error in the thread when calling channel:push for an unknown reason. and other tim...
by farzher
Sun Feb 12, 2017 5:12 am
Forum: Support and Development
Topic: returning table from love.thread
Replies: 7
Views: 3687

returning table from love.thread

Do I have to serialize my table as some kind of string or whatever then unserialize it in my main thread? There's no way to pass a reference to a table in a thread back to the main process? Or pass a reference to a table into the thread for it to edit? The whole point of my thread is to generate a h...
by farzher
Tue Mar 01, 2016 11:13 am
Forum: Support and Development
Topic: Can threads use shaders?
Replies: 8
Views: 1486

Re: Can threads use shaders?

I'm going to throw a related question in here.

Is it possible to just load a shader in another thread? I assume no.
It's annoying that making all my lg.newShader() and lg.newCanvas() freezes my game for a bit, and I can't put it into my load thread
by farzher
Sun Feb 28, 2016 1:52 am
Forum: Support and Development
Topic: Share a Shader!
Replies: 320
Views: 136461

Re: Share a Shader!

This may be the wrong thread because I don't know if this shader actually works. I'm trying to convert a CRT shader found on Shadertoy to LÖVE. It runs without errors, but I get a black screen. I don't know if this is because the shader isn't working or because my system doesn't support it. I'm not...
by farzher
Fri Feb 26, 2016 10:04 am
Forum: Libraries and Tools
Topic: [library] LoveLive - Real time value tweaking (v0.2.0)
Replies: 7
Views: 1773

Re: [library] LoveLive - Real time value tweaking (v0.2.0)

It's really good. The simple fact that its console stacks duplicate messages allows me to quickly/lazily debug things. http://i.imgur.com/V3aUtNm.png The love console isn't so useful with all that spam. Also it'll find all the global variables you leak by forgetting to use local. Real-time variable ...
by farzher
Thu Feb 25, 2016 3:13 am
Forum: Support and Development
Topic: using if statements with mousepressed doesnt work
Replies: 3
Views: 744

Re: using if statements with mousepressed doesnt work

cooooooooode

paste code and or a .love file
by farzher
Tue Feb 23, 2016 11:19 am
Forum: Support and Development
Topic: Having issue with how bullets are generating when my player rotates
Replies: 3
Views: 852

Re: Having issue with how bullets are generating when my player rotates

im not too sure how to go about it. Here's the math xoffset = 50 yoffset = 10 bulletx = player.x + math.cos(player.angle)*xoffset + math.cos(player.angle+math.pi/2)*yoffset bullety = player.y + math.sin(player.angle)*xoffset + math.sin(player.angle+math.pi/2)*yoffset Understanding math is pretty im...
by farzher
Sun Feb 21, 2016 4:04 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 147115

Re: "Questions that don't deserve their own thread" thread

I'm trying to make a very basic hello world with bump by following kikito's guide, but the values actualX and actualY, that I would use for drawing a rectangle, as I understand, are nil and therefore I cannot draw with them, the error says "bad argument #2 to 'rectangle' (number expected got nil)"....
by farzher
Sat Feb 20, 2016 6:51 am
Forum: Games and Creations
Topic: Move or Die | Löve game on Steam!
Replies: 38
Views: 15034

Re: Move or Die | Löve game on Steam!

How do you do Steam integration? I work on Pocket Rumble (another Löve game now on Steam!) We asked the same question to one of the Move or Die developers (sorry I forget who, I wasn't the one talking with him) Anyway, he was super helpful, thanks a ton! How move or die did it: extended love, wrote...
by farzher
Thu Feb 18, 2016 5:30 am
Forum: Support and Development
Topic: Building LÖVE using visual studio?
Replies: 6
Views: 1297

Re: Building LÖVE using visual studio?

I got the right one `Microsoft Visual Studio Express 2013 for Windows Desktop`