Search found 1635 matches

by pgimeno
Tue Jun 25, 2019 3:46 pm
Forum: Support and Development
Topic: Trouble with a simple fragment shader
Replies: 4
Views: 114

Re: Trouble with a simple fragment shader

I'm not sure what your setup is, so I am just guessing here. If you are trying to get the transform that you have modified through love.graphics.translate, love.graphics.rotate etc., well, to the best of my knowledge, you can't. You have to change strategy: create a Transform object with love.math.n...
by pgimeno
Tue Jun 25, 2019 12:32 am
Forum: Support and Development
Topic: Trouble with a simple fragment shader
Replies: 4
Views: 114

Re: Trouble with a simple fragment shader

You can transform world to screen in Lua and send it to the fragment shader as a uniform. Or if you want the computation made by the shader, send the transform to the shader as well.

Note that TransformMatrix may be an identity matrix, see caveat of TransformMatrix in Shader Variables.
by pgimeno
Mon Jun 24, 2019 9:53 am
Forum: General
Topic: Pasciön IDE
Replies: 2
Views: 114

Re: Pasciön IDE

Hello! I love the idea, and I'm very interested in this project. However, I could not compile it. There are missing dependencies and no clue of how to obtain and install them. I see PascionPack is in Components, but there's no indication of where to get KControlsLaz and richmemopackage. It would be ...
by pgimeno
Mon Jun 24, 2019 12:00 am
Forum: Support and Development
Topic: [SOLVED] Love2d raytracer weird output?
Replies: 2
Views: 220

Re: Love2d raytracer weird output?

There's a typo in your dotVec3 function. The first term is v1.x*v2.y, should be v1.x*v2.x.
by pgimeno
Sun Jun 23, 2019 10:45 pm
Forum: Support and Development
Topic: Radial Menu lines are acting odd.
Replies: 2
Views: 212

Re: Radial Menu lines are acting odd.

There's an issue with the miter line mode. Try love.graphics.setLineJoin to correct it. Basically, in miter line join mode, the outer edges of the lines are extended until they join, but in your case they are nearly parallel, that's why they extend out of the screen. The other issue is a typo in you...
by pgimeno
Fri Jun 21, 2019 10:05 am
Forum: Support and Development
Topic: A question about music
Replies: 13
Views: 458

Re: A question about music

Well, music is not stopped at every tick, so it should not do that. But loading the next song on the fly could lead to pauses in the middle of the game, which is a good point by sphyrth.
by pgimeno
Sat Jun 15, 2019 8:41 am
Forum: Support and Development
Topic: [SOLVED] enet cannot create any server
Replies: 14
Views: 441

Re: enet cannot create any server

Weird. Maybe you have a route of some sort to 127.0.0.1 (which sounds like a security risk). If I run nc.openbsd -l 127.0.0.1 7766 on one computer and try to connect from another with nc.openbsd -v <ip> 7766 it doesn't connect. However if I use this in the first machine instead: nc.openbsd -l 0.0.0....
by pgimeno
Sat Jun 15, 2019 1:14 am
Forum: Support and Development
Topic: [SOLVED] enet cannot create any server
Replies: 14
Views: 441

Re: enet cannot create any server

127.0.0.1 is not supposed to work. Binding to localhost prevents external connections. That's a frequently used security tightening for stuff that supports TCP/IP but is not desired to be contacted from the outside (pretty common with MySQL, for example). However, 0.0.0.0 should listen on all interf...
by pgimeno
Thu Jun 13, 2019 10:59 am
Forum: Support and Development
Topic: [SOLVED] enet cannot create any server
Replies: 14
Views: 441

Re: enet cannot create any server

Is that IP available on your machine? Is the port available? Are you using a firewall?

Does 0.0.0.0 work as an IP?
by pgimeno
Thu Jun 13, 2019 10:51 am
Forum: General
Topic: How to install 11.2 on Raspbian?
Replies: 6
Views: 288

Re: How to install 11.2 on Raspbian?

Why not compiling it, then? This made it for me (although I have compiled other programs, so I probably had a few dependencies installed): sudo apt-get install build-essential mercurial cmake libmodplug-dev libsdl2-dev libtheora-dev libmpg123-dev hg clone https://bitbucket.org/rude/love cd love mkdi...