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

Build your own 2D Game Engine and Create Great Web Games

Using HTML5, JavaScript, and WebGL

Authors: Sung, K., Pavleas, J., Arnez, F., Pace, J.

Download source code
  • • Game Design Elements and Development Process: learn the elements and vocabulary of game design and understand the process of designing a game from scratch.
  • • Game Development Tool (HTML5, Javascript, and WebGL): work with the HTML5, Javascript, and WebGL to experience building 2D interactive videogames.
  • • Logic and Behavior: learn and implement simple in-game pseudo autonomous behaviors.
  • • Math and Physics Foundation: learn, review, and implement the foundational mathematics and physics required by most games.
  • • Graphics and Effects: learn and implement graphics effects; and audio and special effects.
  • • Effective Game Design: integrate game experience design concepts smartly with technical design concepts to ensure the technical and experience design are working in harmony enhance player experience
see more benefits

Buy this book

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

Build Your Own 2D Game Engine and Create Great Web Games teaches you how to develop your own web-based game engine step-by-step, allowing you to create a wide variety of online videogames that can be played in common web browsers. Chapters include examples and projects that gradually increase in complexity while introducing a ground-up design framework, providing you with the foundational concepts needed to build fun and engaging 2D games. By the end of this book you will have created a complete prototype level for a side scrolling action platform game and will be prepared to begin designing additional levels and games of your own.

This book isolates and presents relevant knowledge from software engineering, computer graphics, mathematics, physics, game development, game mechanics, and level design in the context of building a 2D game engine from scratch. The book then derives and analyzes the source code needed to implement thes

e concepts based on HTML5, JavaScript, and WebGL.

After completing the projects you will understand the core-concepts and implementation details of a typical 2D game engine and you will be familiar with a design and prototyping methodology you can use to create game levels and mechanics that are fun and engaging for players. You will gain insights into the many ways software design and creative design must work together to deliver the best game experiences, and you will have access to a versatile 2D game engine that you can expand upon or utilize directly to build your own 2D games that can be played online from anywhere.

• Assists the reader in understanding the core-concepts behind a 2D game engine

• Guides the reader in building a functional game engine based on these concepts

• Lead

s the reader in exploring the interplay between technical design and game experience design

• Teaches the reader how to build their own 2D games that can be played across internet via popular browsers

About the authors

Jebediah Pavleas is a graduate student in the Computer Science and Software Engineering program at the University of Washington Bothell (UWB). He received a Bachelor of Science in 2012 and was the recipient of the Chancellor’s Medal for his class. During his time as an undergraduate he took a great interest in both computer graphics and games. His projects included an interactive math application that utilizes Microsoft’s Kinect sensor to teach algebra, a 2D role-playing game designed to teach students introductory programming concepts, and a website where students can compete in various mini-games to control checkpoints around campus. Relating to these projects, he coauthored publications in IEEE Computers and The Journal of Computing Sciences in Colleges (CCSC). When not working towards his graduate degree, he enjoys designing, building, and playing games of all kinds as well as adapting technology for improved accessibility. A university student in computer science, he is interested in working as a game programmer, focusing on accessibility.

Table of contents (11 chapters)

  • Introducing 2D Game Engine Development with JavaScript

    Sung, Kelvin (et al.)

    Pages 1-13

  • Working with HTML5 and WebGL

    Sung, Kelvin (et al.)

    Pages 15-45

  • Drawing Objects in the World

    Sung, Kelvin (et al.)

    Pages 47-76

  • Implementing Common Components of Video Games

    Sung, Kelvin (et al.)

    Pages 77-126

  • Working with Textures, Sprites, and Fonts

    Sung, Kelvin (et al.)

    Pages 127-185

Buy this book

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

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Build your own 2D Game Engine and Create Great Web Games
Book Subtitle
Using HTML5, JavaScript, and WebGL
Authors
Copyright
2015
Publisher
Apress
Copyright Holder
Kelvin Sung and Jebediah Pavleas and Fernando Arnez and Jason Pace
eBook ISBN
978-1-4842-0952-3
DOI
10.1007/978-1-4842-0952-3
Softcover ISBN
978-1-4842-0953-0
Edition Number
1
Number of Pages
XXIII, 468
Number of Illustrations
164 b/w illustrations
Topics