+1 vote
in Other by
I got a image ball which is to fall from above continuously on a time frame, the flow has to be continuous and the image should appear continuously as rain falling from above and at certain speed, what is the best way of doing this. what kind of animation would be helpful, Translate animation or using canvas..help me learn the usage of canvas in android.

How could i achieve this using canvas, any example would be helpful. thanks in advance.

JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
My suggestion is to take a look SurfaceView... As I have found previously SurfaceView gave me the freedom to do anything I wanted and avoid blocking the UI thread. As it has it's own thread, you can specify all kind of time frames and interactions. You can even calculate physics and collisions. HERE is a great tutorial for getting you started.

Related questions

+1 vote
asked Feb 1, 2022 in Other by DavidAnderson
+1 vote
asked Jan 30, 2022 in Other by DavidAnderson
...