Pro HTML5 Games

Overview

Build your next game on a bigger scale with Pro HTML5 Games. This book teaches you the essentials of advanced game programming in HTML5. You’ll learn techniques that you can transfer to any area of HTML5 game development to make your own professional HTML5 games!

Led by an expert game programmer, you’ll build two complete games in HTML5: a strategy puzzle game based on the Box2d physics engine and in the style of Angry Birds and a real-time strategy (RTS) game ...

See more details below
Paperback (2012)
$34.43
BN.com price
(Save 13%)$39.99 List Price
Other sellers (Paperback)
  • All (12) from $26.00   
  • New (8) from $30.48   
  • Used (4) from $26.00   
Pro HTML5 Games

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$25.99
BN.com price
(Save 18%)$31.99 List Price

Overview

Build your next game on a bigger scale with Pro HTML5 Games. This book teaches you the essentials of advanced game programming in HTML5. You’ll learn techniques that you can transfer to any area of HTML5 game development to make your own professional HTML5 games!

Led by an expert game programmer, you’ll build two complete games in HTML5: a strategy puzzle game based on the Box2d physics engine and in the style of Angry Birds and a real-time strategy (RTS) game complete with units, buildings, path-finding, artificial intelligence, and multiplayer support. In the process, you’ll learn how to do the following:

  • Create realistic physics in your game by incorporating the Box2d physics engine
  • Design large worlds with lots of characters and let users interact with them
  • Use sprite sheets, panning, parallax scrolling, and sound effects to build a more polished game
  • Incorporate pathfinding and steering to help characters navigate through your world
  • Create challenging levels with intelligent enemies by using decision trees, state machines, and scripted events
  • Add multiplayer in your games using Node.js and the WebSocket API

This book will help you take your HTML5/JavaScript programming experience to the next level. It gives you the knowledge and skills you need to develop more complex, bolder games and become an HTML5 games pro.

What you’ll learn

  • Creating realistic physics in your game by incorporating the Box2d physics engine
  • Designing large worlds with lots of characters and let users interact with them
  • Using sprite sheets, panning, parallax scrolling, and sound effects to build a more polished game
  • Incorporating pathfinding and steering to help characters navigate through your world
  • Creating challenging levels with intelligent enemies by using decision trees, state machines, and scripted events
  • Adding multiplayer in your games using Node.js and the WebSocket API


Who this book is for

Pro HTML5 Games is meant for programmers who already have some HTML and JavaScript programming experience and who now want to learn to harness the power of HTML5 to build amazing-looking games but don’t know where to begin.

Readers who have experience making games in other languages such as Flash and would like to move to HTML5 will also find a lot of useful information in this book.

If you do not feel confident about your game programming skills, don’t worry. This book covers all the essentials needed to build these games so you can follow along and learn to design large, professional games in HTML5. The book will also point to resources and reference material for supplemental learning in case you are having trouble keeping up.

With dedicated chapters on HTML5 basics, the Box2D engine, pathfinding and steering, combat and effective enemy AI, and multiplayer using Node.JS with WebSockets, you should get a lot from this book no matter how much game programming experience you have.

Table of Contents

  1. HTML5 and JavaScript Essentials
  2. Creating a Basic Game World
  3. Physics Engine Basics
  4. Integrating the Physics Engine
  5. Creating the RTS Game World
  6. Adding Entities to Our World
  7. Intelligent Unit Movement
  8. Adding More Game Elements
  9. CreaAdding Weapons and Combat
  10. Wrapping Up the Single-Player Campaign
  11. Multiplayer with WebSockets
  12. Multiplayer Gameplay

Read More Show Less

Product Details

  • ISBN-13: 9781430247104
  • Publisher: Apress
  • Publication date: 12/31/2012
  • Edition description: 2012
  • Edition number: 1
  • Pages: 364
  • Sales rank: 1,043,878
  • Product dimensions: 7.50 (w) x 9.20 (h) x 0.80 (d)

Meet the Author

Aditya Ravi Shankar started programming in 1993 when he was first introduced to the world of computers. With no access to the Internet or online tutorials at the time, he wrote his first game in GW-BASIC by painstakingly retyping code from a book he found at the local library.

After graduating from the Indian Institute of Technology Madras in 2001, he spent nearly a decade working as a software consultant, developing trading and analytics systems for investment banks and large Fortune 100 companies, before eventually leaving his corporate life behind so he could focus on doing what he loved.

A self-confessed technology geek, he has spent the time since then working on his own projects and experimenting with every new language and technology that he could, including of course HTML5. During this time he became well known for singlehandedly re-creating the famous Command and Conquer RTS game entirely in HTML5.

Apart from programming, Aditya is passionate about billiards, salsa dancing, and learning to develop the subconscious mind. He maintains a personal website (www.adityaravishankar.com) where he writes articles on game programming, personal development, and billiards.

When he is not busy writing or working on his own projects, Aditya does consulting work with companies to help them launch new software products.

Read More Show Less

Table of Contents

• HTML5 and JavaScript Essentials
• Creating a Basic Game World
• Physics Engine Basics
• Integrating the Physics Engine
• Creating the RTS Game World
• Adding Entities to Our World
• Intelligent Unit Movement
• Adding More Game Elements
• CreaAdding Weapons and Combat
• Wrapping Up the Single-Player Campaign
• Multiplayer with WebSockets
• Multiplayer Gameplay

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)