Advanced Search
Stay Signed In
Don't have an account yet?
Start a Free Trial
Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Beginning Facebook Game Apps Development
Contents at a Glance
About the Author
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: First Steps
Gaming in the Browser
HTML5 and the Canvas Element
Game Terminology
Game Views
General Terms
Game Genres
Summary
Chapter 2: JavaScript Boot Camp
What Is JavaScript?
Testing Out JavaScript
Firebug
Chrome
Debugging
Comments
Data Types
Variables
Operators
Assignment
Comparison
Arithmetic Operators
Logical Operators
String Operators
Special Operators
Data Structures
Array
Flow Control
if..else
Switch
Loops
Functions
Variable Scope
Special Variables
Document Object Model
Guess the Number Game
Getting Good with JavaScript
Chapter 3: It's All About Context: Canvas Basics
Canvas: The 2D Context
First Shape
Triangles and Lines
You are currently reading a PREVIEW of this book.
Get instant access to over $1 million worth of books and videos.