Search found 2369 matches

by zorg
Tue Sep 25, 2018 9:20 pm
Forum: Support and Development
Topic: Is there any list of LÖVE's environment variables?
Replies: 2
Views: 51

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

There's one issue regarding the Audio stuff we know about already, and that's on OpenALSoft having a specific order in which it tries backends on linuxes, and it not having a flag to supress such messages, so warnings get tossed to the console... or something.
by zorg
Sun Sep 23, 2018 5:22 am
Forum: Support and Development
Topic: Help with FPS capped at 20 for Love2D.
Replies: 3
Views: 134

Re: Help with FPS capped at 20 for Love2D.

I have 6 screens, most of them have a refresh rate of 75 Hz, one has 59 Hz for some reason, and one has 144 Hz. All of this driven by two GPUs. Vsync works for all but one of them; one of the 75 Hz ones is detected, for some ungodly reason, to have a refresh rate of 4 Hertz . I have zero clue as to ...
by zorg
Mon Sep 17, 2018 10:55 pm
Forum: Support and Development
Topic: Need helping using microphone
Replies: 5
Views: 310

Re: Need helping using microphone

The code runs, but there are audible clicks (increasing in frequency over time). After running for 10-15 seconds the script crashes on my machine. Any tips would be appreciated as there aren't many tutorials on queued sources. I'd start with it shouldn't crash, but apparently it does for you anyway...
by zorg
Sun Sep 16, 2018 10:03 am
Forum: Support and Development
Topic: how to change cam perspective (fov && angle)?
Replies: 7
Views: 339

Re: how to change cam perspective (fov && angle)?

Löve is a framework; what you accomplish with it is your business; it uses OpenGL, which is able to handle both 2D, 3D, or any Dimensions you want it to, be it 2.5 or 4. But yeah, the bigger issue is that for perspective projections (textures rendered correctly when "slanted"), you do need to use a ...
by zorg
Sat Sep 15, 2018 4:10 am
Forum: Support and Development
Topic: CRT effect and shaders:
Replies: 6
Views: 298

Re: CRT effect and shaders:

the crt effect is basically all that code, and the part that makes the red and blue channels be offset (not simply just "to the left/right" but radially outward and inward from the given coordinates, are these parts: vec2 tcr = radialDistortion(tc, .24) + vec2(.001, 0); vec2 tcg = radialDistortion(t...
by zorg
Sat Sep 15, 2018 2:11 am
Forum: Support and Development
Topic: CRT effect and shaders:
Replies: 6
Views: 298

Re: CRT effect and shaders:

You can check this out: https://github.com/vrld/moonshine
Also that effect has a name, it's called Chromatic Aberration.
by zorg
Wed Sep 12, 2018 6:44 pm
Forum: Support and Development
Topic: Need help with aspect ratio and resolution
Replies: 5
Views: 199

Re: Need help with aspect ratio and resolution

The world coordinates for 0,0 should still be 0,0; regardless of the camera's aperture dimensions. Just adjust how much of the world you're showing. And use a camera lib if you're not yet.
by zorg
Wed Sep 12, 2018 9:25 am
Forum: Support and Development
Topic: how to attach a shader to a sprite?
Replies: 5
Views: 129

Re: how to attach a shader to a sprite?

You set the shader you want to use, then draw the sprite you want to use the shader on.

http://blogs.love2d.org/content/let-it- ... characters
can be relevant, although it's probably for an older version; still some of the techniques may still apply.
by zorg
Wed Sep 12, 2018 12:35 am
Forum: Support and Development
Topic: Need help with aspect ratio and resolution
Replies: 5
Views: 199

Re: Need help with aspect ratio and resolution

Do people not know how to use the search function? :3 I know, it's not the best... Here you go: https://love2d.org/forums/viewtopic.php?f=4&t=85638&p=222698#p222698 But for an extended answer, you have two options, if you want to keep your game pixel-perfect; 1. Choose one aspect ratio and use that ...
by zorg
Tue Sep 11, 2018 12:07 am
Forum: General
Topic: How to turn the pages if it does not have turning button?
Replies: 3
Views: 200

Re: How to turn the pages if it does not have turning button?

Hi and welcome to the forums;

...and mind being a bit more specific? What pages?