Search found 42 matches

by Mateus
Sat Mar 05, 2016 7:10 pm
Forum: Support and Development
Topic: Sound cracking problem
Replies: 1
Views: 987

Sound cracking problem

Sup,
I made my own mp3 sound but whenever I "restart" that sound like this:

Code: Select all

	sound:stop()
	sound:play()
it does annoying cracking sounds.

Any solution ? thanks.
by Mateus
Sat Mar 05, 2016 9:44 am
Forum: Support and Development
Topic: Canvas blur
Replies: 6
Views: 3042

Re: Canvas blur

This is how it looks like:
Usage: Enter to spin, Hold numpad . to win "jackpot".
by Mateus
Sat Mar 05, 2016 9:06 am
Forum: Support and Development
Topic: Canvas blur
Replies: 6
Views: 3042

Re: Canvas blur

slime wrote:Check out vrld's shine library, it has a blur postprocess effect: https://github.com/vrld/shine

Awesome, just what I needed ! Thank you so much.
by Mateus
Fri Mar 04, 2016 9:45 pm
Forum: Support and Development
Topic: Canvas blur
Replies: 6
Views: 3042

Re: Canvas blur

I would need theese images to blur when spinning.

https://www.youtube.com/watch?v=V5a2TZ4NARs
by Mateus
Fri Mar 04, 2016 8:44 pm
Forum: Support and Development
Topic: Canvas blur
Replies: 6
Views: 3042

Canvas blur

Hey, simple question:

Is there any easy way to make motion blur effect with canvas ?

Thanks!
by Mateus
Fri Feb 19, 2016 3:34 pm
Forum: Support and Development
Topic: Particles optimization
Replies: 12
Views: 5362

Re: Particles optimization

require "mathlib" io.stdout:setvbuf("no") ScrH = 800 ScrW = 1000 particles = {} pSize = 5 borders = {} MinBorderDist = 20 MinCellDist = 10 MaxCellSpeed = 2 CellFriction = 600 Repell = 100 spawnTimer = 0 shader = love.graphics.newShader("shaders/glow.fs") canvas = love....
by Mateus
Fri Feb 19, 2016 2:37 pm
Forum: Support and Development
Topic: Particles optimization
Replies: 12
Views: 5362

Re: Particles optimization

My bad guys. @ivan was right. Lua seems like it can't handle FOR very well.
by Mateus
Thu Feb 18, 2016 5:46 pm
Forum: Support and Development
Topic: Particles optimization
Replies: 12
Views: 5362

Re: Particles optimization

ivan wrote:Apart from the drawing, if Lua code is used to move each individual particle then there are obvious CPU constraints.
Another option is to pre-render the effect and draw an animation using textures.

Everything is fine until I try to draw them.
by Mateus
Thu Feb 18, 2016 6:49 am
Forum: Support and Development
Topic: Particles optimization
Replies: 12
Views: 5362

Re: Particles optimization

Isn't there any kind of canvas so I can use my own pSystem ?
by Mateus
Thu Feb 18, 2016 6:38 am
Forum: Support and Development
Topic: Particles optimization
Replies: 12
Views: 5362

Particles optimization

Hey, simple question.

How do I optimize my program to be able to draw like 50000 particles without problem ? Is it even possible ?
(50000 love.graphics.circle)

Thanks !