Abstract
In this chapter, we are going to show you how to add animations to your game. In the games we have developed until now, game objects could move around on the screen, but adding something like a running character to your game is slightly more challenging. In this chapter, we will write a program that contains a character walking on the bottom of the screen. The character can walk from the left to the right and vice versa, based on which arrow key (left or right) the player is pressing.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Egges, A., Fokker, J.D., Overmars, M.H. (2013). Animation. In: Learning C# by Programming Games. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-36580-5_26
Download citation
DOI: https://doi.org/10.1007/978-3-642-36580-5_26
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-36579-9
Online ISBN: 978-3-642-36580-5
eBook Packages: Computer ScienceComputer Science (R0)