更新时间:2021-07-16 13:59:25
封面
版权信息
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Chapter 1. Setting Up the Project
The right tool for the right game
The project – YASS (Yet Another Space Shooter)
Game architecture
Putting everything together
Moving forward with the example
Good practices for game developers
Summary
Chapter 2. Managing User Input
The InputController base class
The most basic virtual keypad
Creating a virtual joystick
Physical controllers
Sensors and InputControllers
Selecting control modes
Chapter 3. Into the Draw Thread
Using GameView
Improving DrawThread
Sprites
Adding a frames-per-second (fps) counter
Spawning enemies – the GameController
Occlusion culling
Parallax backgrounds
Layers
Chapter 4. Collision Detection
Detecting collisions
Rectangular bodies
Circular bodies
Mixed collision detection
Chapter 5. Particle Systems
General concepts
Making good particle systems
One shot
Emitters
Chapter 6. Sound FX and Music
SoundManager
Sound FX
Playing music
Enabling and disabling music and sound FX
Disabling system sounds
Chapter 7. Menus and Dialogs
Custom fonts
Working with backgrounds
The GameFragment
Custom dialogs
Designing for multiple screen sizes
Chapter 8. The Animation Framework
Updating BaseFragment
AnimationDrawable
View animation
Property animation
Chapter 9. Integrating Google Play Services
Setting up the developer console
Setting up the code
Achievements
Leaderboards
Opening the Play Games UI
Other features of Google Play services
Chapter 10. To the Big Screen
Project configuration
Testing for Android TV
Declaring a TV Activity
Providing a home screen banner
Declaring it as a game
Reviewing the manifest
Showing controller instructions
Beyond this book
Appendix A. API Levels for Android Versions
Index