Learn Android Tutorial 1.27- Animating a Bitmap

preview_player
Показать описание
In this Android beginner's tutorial, we will learn about creating an animation on our canvas. We will be animating a bitmap image to make it look like a character in motion.

In this lesson you will:
-Be able to draw custom triangles to a view, or more specifically a canvas
- Understand basic graphic programming
-Animate a bitmap
-subscribe
-Thumbs up this video ;)

Hit us up on G+, facebook, or twitter!

Follow us!
-------------
-------------

------------

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

legit tutorial on the less popular canvas animating method. much needed and appreciated.

goaway
Автор

Yeah the man's back! with more tutorials . . .excellent.


arthurmee
Автор

Nice videos Travis !! i'm a student of Systems Degree and you made me an easy way to start on the Android Dev. Thx alot!

diego
Автор

Hey travis, great tutorial as always.
question:
How do you make the ball move faster ??
thanks

BENNN
Автор

I love your tutorials!! I'm setting up my google play Account now and hopefully getting some apps up soon! Subscribed for sure. Your my hero Travis

CrazyCheese
Автор

thanks this is very useful, saves me from reading 3 big books about it

MrBojsane
Автор

@BENNN121 you could mess with the x and y values, so change it from y += 10; to y += 20;

mybringback
Автор

haha thanks buddy, I LOVE your ENTHUSIASM! but seriously, you rock

mybringback
Автор

Love your tutorials, but im lazy, so i would love if the codes were in the description? So i just could copy/paste ;) Keep the great work! ;)

TheGameStudioHD
Автор

One way to simplify the if statements at around 4 mins into the vid is to just say x += 10; if(x >= canvas.getWidth()){x = 0} and the same for y =) its all the same but it might be neater without an else statement.

toymakers
Автор

@DOfficial100 Yea the image was transparent when I imported it, however the fingertouch could be defined however you choose, which we will get into later..

mybringback
Автор

Really nice, and helpfull tutorial. Keep up good work please! Greetings from Poland!

danielczerniawski
Автор

nice tutorial easy to follow and informative thnx

Goldbob
Автор

@mybringback Thanks! Im totally new at making apps, but can i send my projekt to you if i get any problems i can solve? :) And i understand its a lot of work to copy the code in the description! :)

TheGameStudioHD
Автор

thanks man, i really love your videos! 

poloman
Автор

great. thanks Travis !
the ball is kinda flickering, not very smooth on the sceen. Is therea way to avoid that ?

BENNN
Автор

Nice tutes dude. Am I right in saying that instead of invalidate() you could just recursively call the function? If so then what is the benefit of invalidate() over onDraw(canvas)??

WastedGuitarist
Автор

What is the proper way to add a delay between onDraw calls?

somename
Автор

Hi Travis - You are awesomeness contained in human form.

Please can you let me know how to set the speed at which the ball moves across the screen, thanks champ :)

RichardBlack-Grump
Автор

what program do you use to make all of you new things. right now i use gimp, but its not good enough... please tell me what program will make the circle with no edges or make the best shapes or animation possible.

One.garden.at.a_time
welcome to shbcf.ru