Book Image

HTML5 Game Development by Example: Beginner's Guide

By : Seng Hin Mak
Book Image

HTML5 Game Development by Example: Beginner's Guide

By: Seng Hin Mak

Overview of this book

Table of Contents (18 chapters)
HTML5 Game Development by Example Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
9
Building a Physics Car Game with Box2D and Canvas
Index

Chapter 5, Building a Canvas Game's Masterclass


Drawing text in the Canvas

Pop quiz – drawing text in the Canvas

Q1

3

Q2

2

Drawing images in the Canvas

Pop quiz – styling a Canvas background

Q1

2