Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Android Game Development

You're reading from   Learning Android Game Development A Beginner's guide to developing popular Android games

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781785880957
Length 238 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Nikhil Malankar Nikhil Malankar
Author Profile Icon Nikhil Malankar
Nikhil Malankar
Arrow right icon
View More author details
Toc

Adding Animation to Your Game

We have learned how to create sprites on screen as well as made our background image scroll continuously. Sprites are basically just images, which are used for game assets. Now, it is time to add a bit more spice to it and make it interesting. In this chapter, we will make our player character appear on screen on top of our background and add an animation that will make the player run. In this chapter, you will learn the following:

  • Creating sprite animations based on sprite sheets
  • Running basic animations
  • Creating an abstract class to serve as a foundation for our future game objects

By the end of this chapter, you will have a running character on screen. So let's begin!

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime