You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the Leonids Particle System Lib, using the JAR library. When you use, for example, the .OneShot function, as in:
new ParticleSystem(Activity.this, 200, R.drawable.particle, (int)(t_star/2.0f))
.setSpeedRange(0.1f, 0.2f)
.oneShot(view, time);
the lib loads the R.drawable.particle, and emits the oneshot with the exact height and width in pixels than the original image. I want to control the exact size of the particles, since the effect should be different depending on the density of the used device (and LDPI, MDPI, etc. are not the exact approach, since the exact size control is desired)
Is if there are any ways to change the width or height of the particles in px or dp?
The text was updated successfully, but these errors were encountered:
I am using the Leonids Particle System Lib, using the JAR library. When you use, for example, the .OneShot function, as in:
new ParticleSystem(Activity.this, 200, R.drawable.particle, (int)(t_star/2.0f))
.setSpeedRange(0.1f, 0.2f)
.oneShot(view, time);
the lib loads the R.drawable.particle, and emits the oneshot with the exact height and width in pixels than the original image. I want to control the exact size of the particles, since the effect should be different depending on the density of the used device (and LDPI, MDPI, etc. are not the exact approach, since the exact size control is desired)
Is if there are any ways to change the width or height of the particles in px or dp?
The text was updated successfully, but these errors were encountered: