Search found 8 matches

by binaryeye
Sun Feb 28, 2016 1:07 pm
Forum: Support and Development
Topic: Share a Shader!
Replies: 328
Views: 531003

Re: Share a Shader!

I attached a working version of the shader, (although it still splits the image in 3 sections) Thanks for that. I would have never tried defining iResolution as a vec2. I modified it to work full screen and you're right; it's generally too blurry and dark. It can be sharpened up but at the cost of ...
by binaryeye
Sat Feb 27, 2016 4:28 pm
Forum: Support and Development
Topic: Share a Shader!
Replies: 328
Views: 531003

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 binaryeye
Sat Feb 13, 2016 9:25 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 410595

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

Ah now I see the mistake you made. When you're using shaders the color that is set with love.graphics.setColor() and the pixel color of an image is two different arguments passed into the shader. "vec4 color" being the love.graphics.setColor() color and "Image texture" being the...
by binaryeye
Sat Feb 13, 2016 3:56 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 410595

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

Thanks for the suggestions. Unfortunately, neither work. I tried both in my actual game code as well as a separate test file, and both return light cyan when given dark red. Doing "==" comparison on floating point numbers is always a bit finicky. So I changed it so it checks if the input v...
by binaryeye
Sat Feb 13, 2016 6:42 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 410595

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

I'm new to writing shaders and having some trouble. I'm using six specific colors in my game, each with a bright and dark version like the CGA palette (e.g. light red is 255/85/85, dark red is 170/0/0, etc.). I'm attempting to implement a "water" shader that returns light cyan (85/255/255)...
by binaryeye
Fri Feb 05, 2016 4:14 pm
Forum: General
Topic: Best Libraries for Platformer?
Replies: 9
Views: 4634

Re: Best Libraries for Platformer?

Thanks for the reassurance and suggestions. My game will likely have only four states (start menu, game, pause, and end), which shouldn't be too difficult to handle. The animation will be relatively simple (no more than ~16 frames for all PC movements, ~4 frames for each NPC), but I might try anim8....
by binaryeye
Fri Feb 05, 2016 3:20 pm
Forum: Support and Development
Topic: How to check if a keypress is associated with text input?
Replies: 15
Views: 7112

Re: How to check if a keypress is associated with text input?

Is there any reason you can't have separate states, each with their own input handling?
by binaryeye
Wed Feb 03, 2016 3:24 pm
Forum: General
Topic: Best Libraries for Platformer?
Replies: 9
Views: 4634

Best Libraries for Platformer?

A couple years ago, I was using LÖVE (0.9.1) to develop a platformer but stopped working on it. I'd like to resume working on it using 0.10.0. I had been using Tiled and STI for level management and bump for collision. Would this still be the ideal approach? My game is a side-view platformer with fi...