public override void GameResized() { base.GameResized(); Camera.CenterTile = new Vector3(-1, -1, 0) * FSOEnvironment.DPIScaleFactor; Scene.SetSize(new Point((int)(140 * FSOEnvironment.DPIScaleFactor), (int)(200 * FSOEnvironment.DPIScaleFactor))); var scale = FSOEnvironment.DPIScaleFactor; Avatar.Scale = new Vector3(scale, scale, scale); Camera.ProjectionDirty(); }