Log In
Or create an account -> 
Imperial Library
  • Home
  • About
  • News
  • Upload
  • Forum
  • Help
  • Login/SignUp

Index
Building your First Mobile Game using XNA 4.0
Table of Contents Building your First Mobile Game using XNA 4.0 Credits About the Authors Acknowledgement About the Reviewers www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe? Free Access for Packt account holders Instant Updates on New Packt Books
Preface
What this book covers What you need for this book Who this book is for Conventions Reader feedback Customer support
Downloading the example code
Downloading the color images of this book
Errata Piracy Questions
1. Getting Started
Developing for Windows Phone
Installing the Windows Phone SDK Registering your Windows Phone
Getting started with your first application The Game class
Fields Constructor Initialize LoadContent UnloadContent Update Draw
Summary
2. 2D Graphics
2D coordinate system Adding content Drawing sprites
Adding fields Loading textures Drawing textures
Refactoring our code
Render context The base class
Properties Constructor Methods
Building the GameSprite class
Fields Properties Constructor Methods
Updating MainGame
Fields Initialize LoadContent Update Draw
Result
Adding movement to the hero
The Hero2D class
Fields Initialize LoadContent Update Draw
Updating the game class Result
Adding animation to our hero
Sprite sheets The GameAnimatedSprite class
Fields Properties Constructors Play, pause, and stop Update
Updating Hero2D
Fields Initialize Update
Result
Summary
3. 3D Graphics
3D coordinate system Using matrices Drawing models
Adding fields Initialize Loading models Drawing models Result
Mixing 2D and 3D Refactoring our code
The base class
Properties Constructor Methods
The camera Updating RenderContext The GameModel
Fields Constructor Methods
Updating MainGame
Fields Initialize LoadContent, Update, and Draw
Result
Adding movement to the hero
The Hero3D class
Fields Initialize LoadContent and Draw Update
Updating the Game class Result
Adding animation to our hero
The GameAnimatedModel class
Fields LoadContent Update Controlling animations Draw
Updating Hero3D Result
Exercise: adding enemies Summary
4. Input
Using keyboard Using the accelerometer Using touch Gestures
Enabling gestures Reading gestures
Summary
5. Sound
Before we start Playing sound
SoundEffect Setting volume, pitch, and pan SoundEffectInstance
Fields LoadContent
Playing 3D sound
Fields LoadContent Update Result
Playing a song Summary
6. Building a Basic Framework
Scene graph
Implementation
Fields Constructor Methods
Using the code
Scene manager
The GameScene
Properties Constructor Methods
The SceneManager
Properties Constructor Managing the scenes Initialize and LoadContent Update and Draw
Creating scenes Updating the main game
Initialize LoadContent Update and Draw
Result
Collision
The extension method Updating GameObject2D Updating Hero2D Testing for collisions Result
Menus
The button
Fields and events Constructor LoadContent Update
The menu scene Result
Summary
7. Building a Game
Game concept Menu scene
Fields
Constructor Initialize LoadContent
Level Scene
Prerequisites Level Scene Background
Fields Initialize Update Scene Implementation
Path
Fields Initialize Update Scene Implementation Scene Camera
Buttons Controller
Fields and properties Initialize RandomizeButtons method Update ForceButtonRelease method Scene Implementation
Hero
Fields and properties Initialize SetHeroAction method Update Scene Implementation
Swing Ball
Prerequisites Fields Initialize LoadContent Update Scene Implementation
Spikes
Fields Initialize Scene Implementation
Enemy
Fields and properties Constructor Initialize EnemyAnimationComplete method LoadContent Update Draw Scene implementation
Perspective Camera
Constructor Bringing it all together Extra Fields AddObstacle method ResetLevel method Deactivate SetObstacle method Initialize extension Update extension
Summary
8. Releasing our game
Testing Creating a trial version Application certification requirements Application submission process Summary
Index
  • ← Prev
  • Back
  • Next →
  • ← Prev
  • Back
  • Next →

Chief Librarian: Las Zenow <zenow@riseup.net>
Fork the source code from gitlab
.

This is a mirror of the Tor onion service:
http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion