From 81b62f883e0ccd8d37958f78e3b2cefe76b9d3ca Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Tue, 17 Dec 2019 17:20:26 -0500 Subject: [PATCH] comment out toast & add a reference for later GitOrigin-RevId: 684f5bf6433295082070ce81118b3b5080c10d81 --- Jumpy.Shared/Camera.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jumpy.Shared/Camera.cs b/Jumpy.Shared/Camera.cs index 48fa65d..893b5c7 100644 --- a/Jumpy.Shared/Camera.cs +++ b/Jumpy.Shared/Camera.cs @@ -1,6 +1,8 @@ using Microsoft.Xna.Framework; using System; +// Good background reading, eventually: +// https://gamasutra.com/blogs/ItayKeren/20150511/243083/Scroll_Back_The_Theory_and_Practice_of_Cameras_in_SideScrollers.php namespace Jumpy { class Camera { private Rectangle bbox = new Rectangle(0, 0, 1920 / 6, 1080 / 6); @@ -18,7 +20,7 @@ namespace Jumpy { if (bbox.Left < 0) { bbox.Offset(-bbox.Left, 0); } - Debug.Toast($"p: {player.X} c: {bbox.Center.X}"); + // Debug.Toast($"p: {player.X} c: {bbox.Center.X}"); } } }