     @timer = @game.time.create()
     @timer.start()
 
+# render:->
+#   @player_group.forEachAlive (player) =>
+#     @game.debug.renderSpriteBody(player)
+#   @collect_group.forEachAlive (collect) =>
+#     @game.debug.renderSpriteBody(collect)
+
   update:->
     @position += 1
 

      else
        @game.add.sprite(900, 0, 'coin')
      obj.body.allowGravity = false
      obj.anchor.setTo(0.5, 0.5)
      obj.animations.add('spin', [0, 1, 2, 3, 4, 5], 10, true)
      obj.animations.play('spin')

    runner.target = x
    runner.id = id

    if isPlayer
      w = 20
      h = 40
      runner.body.setRectangle(w,h,runner.width/2-w/2,runner.height/2-h/2)
      runner.body.x = runner.x

    @player_group.add(runner)

    avatar = @game.add.sprite(x, 475, "@#{name}")
