Search found 11 matches
- Wed Sep 04, 2013 11:39 am
- Forum: Support and Development
- Topic: Apply PixelEffect to 'shapes'
- Replies: 2
- Views: 1809
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?
- Wed Sep 04, 2013 11:14 am
- Forum: Support and Development
- Topic: Apply PixelEffect to 'shapes'
- Replies: 2
- Views: 1809
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...
- Sat Aug 31, 2013 6:23 am
- Forum: Support and Development
- Topic: ParticleSystem setDirection issue
- Replies: 1
- Views: 1288
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.
Cheers.
- Sat Aug 31, 2013 6:20 am
- Forum: Support and Development
- Topic: ParticleSystem setDirection issue
- Replies: 1
- Views: 1288
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...
- Tue Aug 27, 2013 7:48 am
- Forum: Support and Development
- Topic: Get width of text printed using print
- Replies: 3
- Views: 5092
Re: Get width of text printed using print
You guys. <3. :getWidth() will do very nicely.
Thanks!
Thanks!
- Tue Aug 27, 2013 7:21 am
- Forum: Support and Development
- Topic: Get width of text printed using print
- Replies: 3
- Views: 5092
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
Cheers,
Paul
- Tue Aug 27, 2013 4:27 am
- Forum: Support and Development
- Topic: Shear / Skew Text
- Replies: 3
- Views: 1758
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
Also derp! Sorry feel pretty dumb right now... somehow managed to miss all of this. Cheers for the speedy replies!!
P
- Tue Aug 27, 2013 4:10 am
- Forum: Support and Development
- Topic: Shear / Skew Text
- Replies: 3
- Views: 1758
Shear / Skew Text
Is there any way to shear / skew text drawn using love.graphics.print?
Cheers,
Paul
Cheers,
Paul
- Fri May 17, 2013 8:41 am
- Forum: Support and Development
- Topic: Keep audio in sync / move to main thread
- Replies: 1
- Views: 1454
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
Cheers,
P
- Fri May 17, 2013 8:24 am
- Forum: Support and Development
- Topic: Skip audio to specific position
- Replies: 2
- Views: 1729
Re: Skip audio to specific position
Exactly what I was after, thanks!