code: function resize(w, h) {
           // parent consctructor, resize camera rect
           this._super(me.Renderable, "resize", [w, h]); // disable damping while resizing
  
  
           this.smoothFollow = false; // update bounds
  
           var level = me.levelDirector.getCurrentLevel();
           this.setBounds(0, 0, Math.max(w, level ? level.width : 0), Math.max(h, level ? level.height : 0)); // reset everthing
  
           this.setDeadzone(w / 6, h / 6);
           this.update();
           this.smoothFollow = true;
           me.event.publish(me.event.VIEWPORT_ONRESIZE, [this.width, this.height]);
           return this;
         }
docs: resize the camera
  @name resize
  @memberOf me.Camera2d
  @function
  @param {Number} w new width of the camera
  @param {Number} h new height of the camera
  @return {me.Camera2d} this camera