Android Tutorial #40 Animation (6\12) View, Move and add motion to your bitmap image assets

preview_player
Показать описание

At last! Something visually stimulating! We get around to animating a bitmap, here I show you how to increment the x y coordinates of your bitmap, draw to the new coordinates and re-start the whole process buy issuing the invalidate command and the end of your onDraw method - and in doing so, giving the awesome illusion of motion.

Very cool.
Рекомендации по теме
Комментарии
Автор

Great video man. But can you show that how can I move the cherry on the screen in a circular path?

mudrakpatel
Автор

Have you published this code? I didn't watch your previous tutorials but I need to know how canvas works adn unfortunately I don't have the time to watch them all. So I would really like to have an overview of the code, so I can reconstruct it.
Thank you in advance :)

fakemen
Автор

Dear Sir
How can we Move image from 1 main direction to other different different location ?

tenalisolanki
visit shbcf.ru