Search found 16 matches

by Metalcookie
Sat Dec 10, 2011 5:39 pm
Forum: Support and Development
Topic: PixelEffects, Y U NO WORK?
Replies: 8
Views: 5959

Re: PixelEffects, Y U NO WORK?

Then I'm glad I have an ATI card.. But how about those Intel cards?

Also, I just noticed that the picture I used must be very familiar to you..
by Metalcookie
Sat Dec 10, 2011 5:22 pm
Forum: Support and Development
Topic: PixelEffects, Y U NO WORK?
Replies: 8
Views: 5959

Re: PixelEffects, Y U NO WORK?

slime wrote:In glsl/pixeleffect syntax, all floating point numbers (numbers of the type 'number'/float) needs to have a decimal.

Code: Select all

number blurSize = 1/800;
needs to become

Code: Select all

number blurSize = 1.0/800.0;
It works! I guess I'm not used to such a massive lack of forgiveness.
by Metalcookie
Sat Dec 10, 2011 5:00 pm
Forum: Support and Development
Topic: Is realistic jumping even possibru without love.physics ?
Replies: 16
Views: 6799

Re: Is realistic jumping even possibru without love.physics

I extracted this from your text, but I made something terribly wrong, would you mind helping me? I think it's more like this: player.velocity.y = player.velocity.y + 0.1 * dt --each second the velocity is increased by 0.1 player.y = player.y + player.velocity.y --moves the player with the calculate...
by Metalcookie
Sat Dec 10, 2011 4:43 pm
Forum: Support and Development
Topic: How to choose source?
Replies: 14
Views: 6992

Re: How to choose source?

I poked your code a bit and.. math.random() ain't random at all for your program, even after using math.randomseed(os.time())..

Sorry, but that's all I can do for now, good luck.
by Metalcookie
Sat Dec 10, 2011 3:42 pm
Forum: Support and Development
Topic: Multiple questions
Replies: 5
Views: 2756

Re: Multiple questions

Hey, 1) Haven't played it, but I see you can download the source code (the .love file) at the bottom of the page you linked. 2) Something like this: if player.x < 0 then --if he goes off the left edge.. player.x = love.graphics.getWidth() --put him back at the right edge! elseif player.x > love.grap...
by Metalcookie
Sat Dec 10, 2011 3:26 pm
Forum: Support and Development
Topic: PixelEffects, Y U NO WORK?
Replies: 8
Views: 5959

PixelEffects, Y U NO WORK?

So I've read the GLSL documentation, have read the readme on GLSL in Löve2D thousands of times and have searched everywhere on the forum and wiki.. All I'm trying to do is add some horizontal blur to the show. I've downloaded several .love files of examples of blur shaders, and looked a few simple e...