Search found 42 matches

by giann
Mon Oct 20, 2014 9:53 am
Forum: Games and Creations
Topic: Pnorar
Replies: 11
Views: 14556

Re: Pnorar

Looks great !

How did you implement the clouds/fog ?
by giann
Tue May 20, 2014 10:26 am
Forum: Support and Development
Topic: [resolved] invertedStencil with canvas
Replies: 2
Views: 1852

Re: invertedStencil with canvas

Shader works like a charm !

Thanks !
by giann
Mon May 19, 2014 1:27 pm
Forum: Support and Development
Topic: [resolved] invertedStencil with canvas
Replies: 2
Views: 1852

[resolved] invertedStencil with canvas

I have to use an invertedStencil but the stencil function I wanna use is too slow. Can I use a canvas and draw it inside the stencil function ? If so, how ? I tried and always get a rectangle with the canvas' dimensions.
by giann
Fri May 16, 2014 8:44 am
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine [0.4.3]
Replies: 117
Views: 122089

Re: Löve "Light vs. Shadow" Engine [0.4.3]

I managed to find out why everything was messed up with love.graphics.scale: multiple canvas are used to apply the different shaders, so the scale factor is applied each time. I just had to apply the scale only when actually drawing to the screen.

I'll do a pull request :)
by giann
Thu May 15, 2014 2:42 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine [0.4.3]
Replies: 117
Views: 122089

Re: Löve "Light vs. Shadow" Engine [0.4.3]

Everything seems to be messed up when using love.graphics.translate or love.graphics.scale.
I narrowed it down to the multiple shaders you're using. When I comment them out everything is ok.

What can I do to fix that ?
by giann
Mon May 05, 2014 11:17 am
Forum: Support and Development
Topic: Translate ParticleSystem
Replies: 3
Views: 1901

Re: Translate ParticleSystem

Thank you.
I wasn't using love.graphics.translate because I am using https://bitbucket.org/PriorBlue/love2d- ... dow-engine and the lights were translated as well. It didn't occur to me that I could use this only around the particles drawing.
by giann
Mon May 05, 2014 9:07 am
Forum: Support and Development
Topic: Translate ParticleSystem
Replies: 3
Views: 1901

Re: Translate ParticleSystem

Anyone ? Is the question unclear ?
by giann
Fri May 02, 2014 8:02 am
Forum: Support and Development
Topic: Translate ParticleSystem
Replies: 3
Views: 1901

Translate ParticleSystem

Hello,

When I move the camera in my game, how do I translate already emitted particles as well ?
by giann
Thu Apr 24, 2014 9:00 am
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine [0.4.3]
Replies: 117
Views: 122089

Re: Löve "Light vs. Shadow" Engine [0.4.3]

I think you would have to create a newImage for each frame and add/remove them which might be slow.
by giann
Wed Apr 23, 2014 2:50 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine [0.4.3]
Replies: 117
Views: 122089

Re: Löve "Light vs. Shadow" Engine [0.4.3]

Can you provide your .love ?