Introducing HTML5 Game Developemt

Developing Games with Impact

Specificaties
Paperback, 104 blz. | Engels
O'Reilly | 1e druk, 2012
ISBN13: 9781449315177
Rubricering
Hoofdrubriek : Computer en informatica
O'Reilly 1e druk, 2012 9781449315177
Verwachte levertijd ongeveer 16 werkdagen

Samenvatting

Making video games is hard work that requires technical skills, a lot of planning, and-most critically-a commitment to completing the project. With this hands-on guide, you'll learn step-by-step how to create a real 2D game from start to finish. In the process, you'll use Impact, the JavaScript game framework that works with HTML5's Canvas element.

Not only will you pick up important tips about game design, you'll also learn how to publish Impact games to the Web, desktop, and mobile-including a method to package your game as a native iOS app. Packed with screen shots and sample code, this book is ideal for game developers of all levels.

- Set up your development environment and discover Impact's advantages
- Build a complete game with core logic, collision detection, and player and monster behavior
- Learn why a game design document is critical before you start building
- Display and animate game artwork with sprite sheets
- Add sound effects, background music, and text
- Create screens to display stats and in-game status
- Prepare to publish by baking your game files into a single file

Specificaties

ISBN13:9781449315177
Taal:Engels
Bindwijze:paperback
Aantal pagina's:104
Uitgever:O'Reilly
Druk:1

Inhoudsopgave

Preface

1. Introduction To Impact
-Why Use Impact?
-Setting Up a Local Environment
-Install WebStorm/PHPStorm
-Install Apache/PHP/MySQL
-Other Hosting Options
-Setting Up a New Impact Project
-Modules
-How Classes Work
-Core Classes
-How Inner Classes Work
-Level Editor

2. Working With Sprites
-Sprites and Sprite Sheets
-Scripting in Photoshop
-Working with Sprites in Photoshop
-Optimizing Sprites

3. Introduction To Game Design
-What is Game Design?
-Sample Game Design Document
-Coming Up With Ideas
-Books to Read

4. Building A Game
-Creating Our First Level
-Saving/Loading Maps in Weltmeister
-CollisionMaps
-The Main Class
-Customizing the Main Class
-Key Binding
-Creating the Player Class
-Creating a Monster Class
-Collision Detection
-type Property
-checkAgainst Property
-collides Property
-Health
-Weapons
-Firing the Weapon
-Add Multiple Weapons
-Killing Entities
-Respawning the Player
-Create Death Animations
-Adding Grenade Explosions
-Customizing the Camera
-Loading New Levels

5. Working With Text
-Creating Font Sprite Sheets
-Adding Text to Your Game

6. Working With Sound
-Adding Sounds
-Adding Music
-Mobile Browser Sound Compatibility Issues

7. Creating Game Screens and HUDs
-Extending Impact's Game Class
-Creating a Start Screen
-Player Stats Screen
-Creating the Game Over Screen
-Adding In-Game HUD
-Game Rewards
-In-Game Analytics

8. Debugging Your Game
-Impact's Debugger
-Publishing Your Game
-Baking Your Game
-Mobile Web Support
-Compiling for Native iOS

9. Wrapping Up
-References and Links

Net verschenen

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        Introducing HTML5 Game Developemt