Search found 11 matches

by codinghands
Wed Sep 04, 2013 11:39 am
Forum: Support and Development
Topic: Apply PixelEffect to 'shapes'
Replies: 2
Views: 1741

Re: Apply PixelEffect to 'shapes'

Ah ha. That makes sense, along with showing gaping holes in my knowledge of GLSL. Is there any way to achieve what I'm after in a similar manner?
by codinghands
Wed Sep 04, 2013 11:14 am
Forum: Support and Development
Topic: Apply PixelEffect to 'shapes'
Replies: 2
Views: 1741

Apply PixelEffect to 'shapes'

I'm trying to apply a PixelEffect to both a ParticleSystem and a raw 'shape' (a love.graphics.line). However, whilst the ParticleSystem's pixels are being affected as expected, the drawn shape exhibits some strange behaviour. My shader is below: makePurple = love.graphics.newPixelEffect [[ extern ve...
by codinghands
Sat Aug 31, 2013 6:23 am
Forum: Support and Development
Topic: ParticleSystem setDirection issue
Replies: 1
Views: 1170

Re: ParticleSystem setDirection issue

Ah not to worry, I had setSpeed to neg and pos values causing this. Seems to be fixed by changing both to neg values.

Cheers.
by codinghands
Sat Aug 31, 2013 6:20 am
Forum: Support and Development
Topic: ParticleSystem setDirection issue
Replies: 1
Views: 1170

ParticleSystem setDirection issue

I'm trying to get a ParticleSystem to emit in a single direction, with a spread around a given point, something like: 9QlKKtg.png I've set direction to 39deg in rad, and spread to 78deg in rad, but the system is emitting both toward the top left and the bottom right. How can I configure the system t...
by codinghands
Tue Aug 27, 2013 7:48 am
Forum: Support and Development
Topic: Get width of text printed using print
Replies: 3
Views: 4771

Re: Get width of text printed using print

You guys. <3. :getWidth() will do very nicely.

Thanks!
by codinghands
Tue Aug 27, 2013 7:21 am
Forum: Support and Development
Topic: Get width of text printed using print
Replies: 3
Views: 4771

Get width of text printed using print

Is there any way in advance to get the width of text to be printed using love.graphics.print before printing it? Or even after.

Cheers,

Paul
by codinghands
Tue Aug 27, 2013 4:27 am
Forum: Support and Development
Topic: Shear / Skew Text
Replies: 3
Views: 1636

Re: Shear / Skew Text

Magic, totally blinded to the transform stack!

Also derp! Sorry feel pretty dumb right now... somehow managed to miss all of this. Cheers for the speedy replies!!

P
by codinghands
Tue Aug 27, 2013 4:10 am
Forum: Support and Development
Topic: Shear / Skew Text
Replies: 3
Views: 1636

Shear / Skew Text

Is there any way to shear / skew text drawn using love.graphics.print?

Cheers,

Paul
by codinghands
Fri May 17, 2013 8:41 am
Forum: Support and Development
Topic: Keep audio in sync / move to main thread
Replies: 1
Views: 1389

Keep audio in sync / move to main thread

I read on the forums somewhere that the audio in love is handled by a separate thread. Is is possible to change this? I'm working on a game which relies on tight synchronisation of audio and gameplay, and occasionally they go out of sync by a minor (but noticeable) amount.

Cheers,

P
by codinghands
Fri May 17, 2013 8:24 am
Forum: Support and Development
Topic: Skip audio to specific position
Replies: 2
Views: 1653

Re: Skip audio to specific position

Exactly what I was after, thanks!