Instant HTML5 2D Platformer

Learn how to develop a 2D HTML5 platformer that is capable of running in modern browsers

Instant HTML5 2D Platformer

Aidan Temple

Learn how to develop a 2D HTML5 platformer that is capable of running in modern browsers
Mapt Subscription
FREE
$29.99/m after trial
eBook
$7.00
RRP $9.99
Save 29%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$7.00
$29.99p/m after trial
RRP $9.99
Subscription
eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781849696784
Paperback52 pages

Book Description

Game development has traditionally only been accessible to those with experience in computer science and access to the best or most expensive development tools. However, with the advent of technologies such as HTML5 and the ability to self-publish, web-based games such as those on Facebook and smartphones are becoming more attractive to develop than ever before. Through the use of open technologies such as HTML5, anyone with even a basic understanding of games development can begin to develop video games in their spare time and publish them to the Web or as an application for mobile devices.

Instant HTML5 2D Platformer is a practical, hands-on guide that provides you with a number of clear, step-by-step, task-based exercises, which are used to discuss game development and put into practice development techniques through the use of HTML5 and JavaScript. This book looks at the creation of a 2D platform-based game using the HTML5 canvas element.

Instant HTML5 2D Platformer introduces you to HTML5 canvas through a number of exercises, which show what the canvas is capable of. The book contains a number of clear, practical, hands-on tasks that incrementally build on the concepts of game creation and result in a 2D HTML5 platform-based game.

By undertaking the tasks within this book, you will learn how to develop your own 2D HTML5 game framework that you can use in the creation of your own video games, not just the game developed within this book. Alongside this framework you will learn how to develop and understand 2D animation, game logic, and how to handle user input devices.

Table of Contents

Chapter 1: Instant HTML5 2D Platformer
Setting up your HTML5 canvas (Should know)
Implementing the game framework (Should know)
Creating the player (Must know)
Handling user input (Must know)
Animating the player (Must know)
Creating the level (Must know)
Implementing a parallax background (Must know)
Implementing physics (Must know)
Creating enemies (Must know)
Adding pickups (Must know)
Adding sounds (Must know)
Creating a graphical user interface (Must know)

What You Will Learn

  • Develop a multi-browser-compatible HTML5 game
  • Implement a JavaScript-based games framework
  • Handle user input devices
  • Create a game object management system that will be used to represent the player, enemy units, and collectible items
  • Implement your own 2D animation manager system
  • Add sound effects to an HTML5 game
  • Monitor game statistics and reflect this through an HTML5-canvas-based graphical interface

Authors

Table of Contents

Chapter 1: Instant HTML5 2D Platformer
Setting up your HTML5 canvas (Should know)
Implementing the game framework (Should know)
Creating the player (Must know)
Handling user input (Must know)
Animating the player (Must know)
Creating the level (Must know)
Implementing a parallax background (Must know)
Implementing physics (Must know)
Creating enemies (Must know)
Adding pickups (Must know)
Adding sounds (Must know)
Creating a graphical user interface (Must know)

Book Details

ISBN 139781849696784
Paperback52 pages
Read More

Read More Reviews

Recommended for You

Learning Unity 2D Game Development by Example Book Cover
Learning Unity 2D Game Development by Example
$ 26.99
$ 18.90
HTML5 Games Development by Example: Beginner’s Guide Book Cover
HTML5 Games Development by Example: Beginner’s Guide
$ 26.99
$ 18.90
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Unity 2D Game Development Book Cover
Unity 2D Game Development
$ 14.99
$ 1.50
Mastering Unity 2D Game Development Book Cover
Mastering Unity 2D Game Development
$ 32.99
$ 6.60