How to make something like this animation drawings that coming out from the car ?

(I'm using android studio)

The Game's Link : Finger Driver

enter image description here

  • 2
    \$\begingroup\$ This effect looks like something called a "Particle System" — I recommend searching on that term for more information & examples. \$\endgroup\$ – DMGregory May 17 '18 at 11:12

As it has been already mentioned in the comments, this effect is called "Particle System".

What it does, basically, is spawn multiple objects over a period of time, and each object has a small animation before it "dies". I haven't played the game on your screenshot, but from what I can tell, in this case, the particle system is attached on the car, and every so often spawns a circle with a specific size. Each circle spawned this way, keeps decreasing in size, until they reach 0 in which case they destroy themselves.

There is no "right" or "wrong" way to make something like that. You can either create a simple particle system yourself, or you can use a library which already includes a solution for it.


I think the best way to achieve this will be to use a sprite sheet and use Rect to show different areas of the sheet quickly (giving the illusion of movement/ animation). I think this article will be of use to you.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.