Compare commits
3 Commits
9bd33a406a
...
0c7fa95711
Author | SHA1 | Date | |
---|---|---|---|
0c7fa95711 | |||
e4a4754ace | |||
36a7f70fef |
@ -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);
|
||||||
|
@ -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;
|
||||||
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user