Android Game Recipes
Год: 2013
Автор: DiMarzio J. F.
Издательство: Apress
ISBN: 978-1-4302-5765-3
Язык: Английский
Формат: PDF/EPUB/MOBI
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да
Количество страниц: 240
Описание: Android game apps are typically the most popular type of Android apps in the various Google Play, Amazon Appstore and other Android app stores. So, beyond the Android game tutorials out there, what about a day-to-day handy and complete code reference for Android game developers? Android Game Recipes is your first, reliable game coding reference for today's Android game apps. This book provides easy to follow real world game code problems and solutions, including source code. This book covers code recipe solutions that are common to 2D game development problems such as designing a game menu, collision detection, moving characters, moving backgrounds and more. This book also includes how to work with player input, how to add multiple levels, how to create game graphics for different screen resolution, and how to work with device sensors.
Оглавление
About the Author xvii
About the Technical Reviewer xix
Acknowledgments xxi
Introduction xxiii
Chapter 1: Getting Started 1
Chapter 2: Loading an Image 11
Chapter 3: The Splash Screen 41
Chapter 4: The Menu Screen 51
Chapter 5: Reading Player Input 65
Chapter 6: Loading a SpriteSheet 79
Chapter 7: Scrolling a Background 93
Chapter 8: Scrolling Multiple Backgrounds 105
Chapter 9: Syncing the Background to Character Movement 117
Chapter 10: Building a Level Using Tiles 127
Chapter 11: Moving a Character 141
Chapter 12: Moving an Enemy 153
Chapter 13: Moving a Character with Obstacles 167
Chapter 14: Firing Weapons 175
Chapter 15: Collision Detection 191
Chapter 16: Keeping Score 205
Chapter 17: Keeping Time 217
Index 223
Опубликовано группой