Cargando…

Building your First Mobile Game using XNA 4.0.

This book is a step-by-step tutorial with a lot of screenshots that help to explain the concept better. This book will cover the building of a 3D game for Windows Phone using XNA. We won't explain the C♯ programming language itself, nor object-oriented programming. We will however explain the a...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Kets, Brecht
Otros Autores: Goussaert, Thomas
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Pub., 2013.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Table of Contents; Building your First Mobile Game using XNA 4.0; 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 PhoneInstalling 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; Result; LoadContent; Update; Draw.
  • Adding movement to the heroThe Hero2D class; Fields; Initialize; Updating the game class; Result; LoadContent; Update; Draw; 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 GameModelFields; Constructor; Methods; Updating MainGame; Fields; Initialize; LoadContent, Update, and Draw; Result; Adding movement to the hero; The Hero3D class; Fields; Initialize; Updating the Game class; Result; LoadContent and Draw; Update; Adding animation to our hero; The GameAnimatedModel class; Fields; Updating Hero3D; Result; LoadContent; Update; Controlling animations; Draw; 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.
  • SoundEffectSetting 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; Creating scenes; Updating the main game; Initialize; Result; LoadContent; Update and Draw; Initialize and LoadContent; Update and Draw; Collision; The extension method; Updating GameObject2D.