Part II. Creating Colorful Games

Chapter 7. Basic Game Objects

Loading And Blocking JavaScript

http://labjs.com

Writing a More Efficient Game Loop
Game.assetLoadingLoop = function () {
    if (!Game.spritesStillLoading > 0)
        window.requestAnimationFrame(Game.assetLoadingLoop);
    else {
        Game.initialize();
        window.requestAnimationFrame(Game.mainLoop);
    }
};

Part III. Jewel Jam

Chapter 13. Adapting to Different Devices

Resizing the Game

  Доделать масштабирование фонового рисунка для `2-20-game`

Redesigning Mouse-Input Handling