Page 1 of 1

Efficient way to draw many circles

Posted: Mon Nov 12, 2012 7:37 pm
by Petunien
Hi,

as for space background, I need to draw about 40 "stars" (circles, radius 1-3).
Because I'm developing for Android and I'm using a low-end device, the frames drop of 80 to 30 because of the circles.

Every few seconds, I delete stars and draw randomly new one, to simulate randomness.

I wonder if there's a easier and more efficient way to solve this.

Threads? Canvasses?

Greets

Re: Efficient way to draw many circles

Posted: Mon Nov 12, 2012 7:42 pm
by Inny
Use a texture atlas and quads. Hand draw your stars. That should work out very nice.