Compare commits
No commits in common. "0c7fa957115bced1b8c45929f2ee7123b2f94e7b" and "9bd33a406a60826e5b5cd76ae79455928d0f2359" have entirely different histories.
0c7fa95711
...
9bd33a406a
@ -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 > General > TV & Display Options > Resolution > 720p.
|
// Settings > Launch Settings > Display & Sound > 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);
|
||||||
|
@ -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(11, 24);
|
private readonly Vector2 halfSize = new Vector2(12, 24);
|
||||||
|
|
||||||
public NPC(Vector2 position, int facing) {
|
public NPC(Vector2 position, int facing) {
|
||||||
sprite = Sprites.Executioner;
|
sprite = Sprites.Executioner;
|
||||||
|
@ -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/zs_whoosh_30568");
|
SwordSwings[0] = content.Load<SoundEffect>("sfx/zapsplat/sword_whoosh_1");
|
||||||
SwordSwings[1] = content.Load<SoundEffect>("sfx/zs_whoosh_30569");
|
SwordSwings[1] = content.Load<SoundEffect>("sfx/zapsplat/sword_whoosh_2");
|
||||||
SwordSwings[2] = content.Load<SoundEffect>("sfx/zs_whoosh_30570");
|
SwordSwings[2] = content.Load<SoundEffect>("sfx/zapsplat/sword_whoosh_3");
|
||||||
SwordSwings[3] = content.Load<SoundEffect>("sfx/zs_whoosh_30571");
|
SwordSwings[3] = content.Load<SoundEffect>("sfx/zapsplat/sword_whoosh_4");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user