Book description
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 these 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.Table of contents
- Cover
- Title
- Copyright
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Chapter 1: Introducing 2D Game Engine Development with JavaScript
- Chapter 2: Working with HTML5 and WebGL
- Chapter 3: Drawing Objects in the World
- Chapter 4: Implementing Common Components of Video Games
- Chapter 5: Working with Textures, Sprites, and Fonts
- Chapter 6: Defining Behaviors and Detecting Collisions
- Chapter 7: Manipulating the Camera
- Chapter 8: Implementing Illumination and Shadow
- Chapter 9: Integrating Physics and Particles
- Chapter 10: Supporting Camera Background
- Chapter 11: Building a Sample Game: From Design to Completion
- Index
Product information
- Title: Build Your Own 2D Game Engine and Create Great Web Games: Using HTML5, JavaScript, and WebGL
- Author(s):
- Release date: October 2015
- Publisher(s): Apress
- ISBN: 9781484209523
You might also like
book
Building a 2D Game Physics Engine: Using HTML5 and JavaScript
Build your very own 2D physics-based game engine simulation system for rigid body dynamics. Beginning from …
book
Build Your Own 2D Game Engine and Create Great Web Games: Using HTML5, JavaScript, and WebGL2
Develop a 2D game engine that will give you the experience and core understanding of foundational …
book
HTML5 Games: Creating Fun with HTML5, CSS3 and WebGL, 2nd Edition
HTML5 Games shows you how to combine HTML5, CSS3 and JavaScript to make games for the …
book
Physics for JavaScript Games, Animation, and Simulations: with HTML5 Canvas
Have you ever wanted to include believable physical behaviors in your games and projects to give …