Android programming - drawing bitmaps in a game loop

preview_player
Показать описание
Andy Balaam creates an Android game which smoothly animates lots of images moving around on the screen. Covers acquiring and a SurfaceView, using the SurfaceViewHolder and locking a Canvas, and structuring a game loop to animate smoothly and skip frames when needed. The code is written using Android Studio. Later, we will look at how to build an Android game that shares code with non-Android versions.
Рекомендации по теме
Комментарии
Автор

Great video, although that keyboard was SO loud

WahWahWeeWah
Автор

ActionBarActivity is deprecated. Use AppCompatActivity instead in your DrawingActivity. Great Video BTW :)

toddnorris
Автор

Fantastic video.  However, I am having trouble figuring out where to put an onTouchListener within this framework.  Can you help me out?

Thank you!

rradype
Автор

I think if you lock the canvas and draw, the operations won't be hardware accelerated.

JithVKumar
Автор

can you please share the code ?? github?

gamerbhaiyya_ies
welcome to shbcf.ru