Don’t miss it—Apress Access is only $99 for the holiday season! Subscribe now >>

Introducing JavaScript Game Development

Build a 2D Game from the Ground Up

Authors: Stuart, Graeme

Download source code
  • Build one entire fully-functional game based on Asteroids, the 1979 Atari classic
  • Ideal for intermediate coders who are keen to start game development using web technologies
  • Developed from an undergraduate course - tried and tested in the real world
see more benefits

Buy this book

eBook $19.99
price for USA (gross)
  • ISBN 978-1-4842-3252-1
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $29.99
price for USA
  • ISBN 978-1-4842-3251-4
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
About this book

Learn to build a fully-functional 2D game inspired by the 1979 Atari classic, Asteroids, using just HTML5, CSS and JavaScript. Developing games has never been easier than it is now. New web technology allows even beginner developers to turn their hand to game development. Developed from an undergraduate course module, Introducing JavaScript Game Development teaches each new technology as it is introduced so can be followed by enthusiastic beginners as well as intermediate coders.

You will learn how to work with HTML5 and the canvas element, how to understand paths, how to draw to a design and create your spaceship and asteroids. You’ll then move on to animating your game, and finally building. You will work step-by-step through the game design process, starting with only what is necessary to complete each step, and refactoring the code as necessary along the way, reflecting the natural progression that code follows in the real world. Each chapter is designed to take your code base to the next level and to add to your skills. After completing the examples in this book you will have the tools necessary to build your own, high-quality games.

Make the process of creating object-oriented 2D games more fun and more productive and get started on your game development journey. 

About the authors

Graeme Stuart is a self-taught developer mainly building web-based applications using JavaScript and Python. He’s has a PhD in energy management and much of his programming skill was originally developed to this end. He currently teaches JavaScript games programming to first year undergraduates.

Table of contents (13 chapters)

Buy this book

eBook $19.99
price for USA (gross)
  • ISBN 978-1-4842-3252-1
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $29.99
price for USA
  • ISBN 978-1-4842-3251-4
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Introducing JavaScript Game Development
Book Subtitle
Build a 2D Game from the Ground Up
Authors
Copyright
2017
Publisher
Apress
Copyright Holder
Graeme Stuart
eBook ISBN
978-1-4842-3252-1
DOI
10.1007/978-1-4842-3252-1
Softcover ISBN
978-1-4842-3251-4
Edition Number
1
Number of Pages
XI, 209
Number of Illustrations
8 b/w illustrations, 45 illustrations in colour
Topics