Build Your Own 2D Game Engine and Create Great Web Games
eBook - ePub

Build Your Own 2D Game Engine and Create Great Web Games

Using HTML5, JavaScript, and WebGL2

  1. English
  2. ePUB (mobile friendly)
  3. Only available on web
eBook - ePub

Build Your Own 2D Game Engine and Create Great Web Games

Using HTML5, JavaScript, and WebGL2

Book details
Table of contents
Citations

About This Book

Develop a 2D game engine that will give you the experience and core understanding of foundational concepts for building complex and fun 2D games that can be played across the Internet via popular web browsers. This book is organized so that the chapters follow logical steps of building a game engine and integrates concepts accordingly.

Build Your Own 2D Game Engine and Create Great Web Games isolates and presents relevant concepts from software engineering, computer graphics, mathematics, physics, game development and game design in the context of building a 2D game engine from scratch. In this edition, all the code is based on updated versions of JavaScript with HTML5 and WebGL2: you will analyze the source code needed to create a game engine that is suitable for implementing typical casual 2D videogames. You will also learn about physics and particle system. The discussion of physics component includes rotations and popular physical materials such as wood, mud, andice. The discussion of particle component has popular presets such as fire, smoke, and dust.

By the end of the book, you will understand the core concepts and implementation details of a typical 2D game engine, learn insights into how these concepts affect game design and game play, and have access to a versatile 2D game engine that they can expand upon or utilize to build their own 2D games from scratch with HTML5, JavaScript, and WebGL2.

What You Will Learn

  • Understand essential concepts for building 2D games
  • Grasp the basic architecture of 2D game engines
  • Understand illumination models in 2D games
  • Learn basic physics used in 2D games
  • Find out how these core concepts affect game design and game play
  • Learn to design and develop 2D interactive games

Who Is This Book For

Game enthusiasts, hobbyists, and anyone with little to no experience who are interested in building interactive games but are unsure of how to begin. This can also serve as a textbook for a junior- or senior-level "Introduction to Game Engine" course in a Computer Science department.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Build Your Own 2D Game Engine and Create Great Web Games by Kelvin Sung,Jebediah Pavleas,Matthew Munson,Jason Pace in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming Games. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Apress
Year
2021
ISBN
9781484273777
Edition
2

Table of contents

  1. Cover
  2. Front Matter
  3. 1. Introducing 2D Game Engine Development with JavaScript
  4. 2. Working with HTML5 and WebGL
  5. 3. Drawing Objects in the World
  6. 4. Implementing Common Components of Video Games
  7. 5. Working with Textures, Sprites, and Fonts
  8. 6. Defining Behaviors and Detecting Collisions
  9. 7. Manipulating the Camera
  10. 8. Implementing Illumination and Shadow
  11. 9. Simulating the World with RigidShapes
  12. 10. Creating Effects with Particle Systems
  13. 11. Supporting Camera Background
  14. 12. Building a Sample Game: From Design to Completion
  15. Back Matter