Jump Start CoffeeScript

Jump Start CoffeeScript

Table of Contents


About the Author

Preface

Who Should Read This Book
Conventions Used
Supplementary Materials
Challenge Yourself
Friends of SitePoint

1. Getting Started

HTML5 Game Jam Challenge
Starting the Game Project
Choosing Our Tech
Drawing Something: Using Canvas
We’re on Our Way

2. CoffeeScript Fundamentals

More of the Basics
Introducing Professor Digman-Rünner
The Canvas API
Random Map
Ready to Rumble

3. Features to Boost Your Game

Team Meeting
Functions Revisited
Building Larger Projects
Handling Player Input
Adding the Professor
And There Was Light!

4. Game Loop and Classes

The Game Loop
Classes
Game Classes
Adding New Blocks
Stay Classy

5. Bringing a Game to Life

Block Collision Detection
Destructured Assignment 1: Arrays
Splats
Gravity
Ladders
Collecting
Collision
Ninja AI
Power to the Professor
Set for Life

6. CoffeeScript and HTML5 FX

HTML-ifying things
Animation
Game Over

7. Epilogue

And on the Seventh Day ...
Index
$44 $29
$19

Pre-LaunchLaunch: November 2012