Compare commits

...

3 Commits

Author SHA1 Message Date
0c7fa95711 new sfx file names 2020-03-16 14:57:24 -04:00
e4a4754ace fix comment to match new Xbox UI 2020-03-16 14:57:02 -04:00
36a7f70fef make NPCs a pixel less thicc 2020-03-16 14:56:32 -04:00
3 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -53,7 +53,7 @@ namespace SemiColinGames {
private readonly Vector2 eyeOffset = new Vector2(4, -9); private readonly Vector2 eyeOffset = new Vector2(4, -9);
private readonly FSM<NPC> fsm; private readonly FSM<NPC> fsm;
private readonly Vector2 halfSize = new Vector2(12, 24); private readonly Vector2 halfSize = new Vector2(11, 24);
public NPC(Vector2 position, int facing) { public NPC(Vector2 position, int facing) {
sprite = Sprites.Executioner; sprite = Sprites.Executioner;

View File

@ -9,10 +9,10 @@ namespace SemiColinGames {
public static void Load(ContentManager content) { public static void Load(ContentManager content) {
IntroMusic = content.Load<SoundEffect>("music/playonloop/smash_bros_short"); IntroMusic = content.Load<SoundEffect>("music/playonloop/smash_bros_short");
SwordSwings[0] = content.Load<SoundEffect>("sfx/zapsplat/sword_whoosh_1"); SwordSwings[0] = content.Load<SoundEffect>("sfx/zs_whoosh_30568");
SwordSwings[1] = content.Load<SoundEffect>("sfx/zapsplat/sword_whoosh_2"); SwordSwings[1] = content.Load<SoundEffect>("sfx/zs_whoosh_30569");
SwordSwings[2] = content.Load<SoundEffect>("sfx/zapsplat/sword_whoosh_3"); SwordSwings[2] = content.Load<SoundEffect>("sfx/zs_whoosh_30570");
SwordSwings[3] = content.Load<SoundEffect>("sfx/zapsplat/sword_whoosh_4"); SwordSwings[3] = content.Load<SoundEffect>("sfx/zs_whoosh_30571");
} }
} }
} }