У нас вы можете посмотреть бесплатно Android Tutorial #41 Animation (7\12) View, Detect collision between your bitmap and wall или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Source Code: / clientuser_net I like the cherry bitmap that we created in the last tutorial so much, I want to keep it on the checkered board. In this tutorial we bounce the bitmap of the borders of our screen. We again use the bitmapfactory to get width and height data of out cherry image so we can fine tune our collisions and bounce with the walls. We use the following to get the width and height of our canvas. canvas.getWidth() canvas.getHeight()