|
@ -124,7 +124,7 @@ namespace SemiColinGames { |
|
|
// UI should start at least 48px from the left edge of the screen and 27 from the top, as per:
|
|
|
// UI should start at least 48px from the left edge of the screen and 27 from the top, as per:
|
|
|
// https://docs.microsoft.com/en-us/windows/uwp/design/devices/designing-for-tv#tv-safe-area
|
|
|
// https://docs.microsoft.com/en-us/windows/uwp/design/devices/designing-for-tv#tv-safe-area
|
|
|
// Can test this on actual Xbox via:
|
|
|
// Can test this on actual Xbox via:
|
|
|
// Settings > Launch Settings > Display & Sound > Resolution > 720p.
|
|
|
|
|
|
|
|
|
// Settings > Launch Settings > General > TV & Display Options > Resolution > 720p.
|
|
|
int y = 27; |
|
|
int y = 27; |
|
|
foreach (var toast in toasts) { |
|
|
foreach (var toast in toasts) { |
|
|
spriteBatch.DrawString(Textures.DebugFont, toast, new Vector2(48, y), Color.Teal); |
|
|
spriteBatch.DrawString(Textures.DebugFont, toast, new Vector2(48, y), Color.Teal); |
|
|