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. Available on iOS & Android
eBook - ePub

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

Using HTML5, JavaScript, and WebGL2

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

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
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 use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
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
Print ISBN
9781484273760
eBook ISBN
9781484273777

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