Efficient way to draw many circles
Posted: Mon Nov 12, 2012 7:37 pm
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
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