<!doctype html>
<html>
<head>
    <script src="phaser.min.js"></script>
    <style>
            body{margin:0}
    </style>
    <script type="text/javascript">
        var game = new Phaser.Game(1200, 600, Phaser.CANVAS, 'phaser-example', { preload: preload, create: create, update: update });

        function preload() {

            game.load.image('background','res/bg/batman.png');
            game.load.image('player','res/tux-batman.png');
            game.load.image('line', 'res/line.png');
           