Updated weapon logic. Fixed player CheckMove logic.

This commit is contained in:
2026-08-24 19:46:04 -04:00
parent c1124a784d
commit e42b11c6fc
10 changed files with 279 additions and 73 deletions

View File

@@ -40,4 +40,40 @@ public static class ShotPatterns
new Shot2(MuzzleId.Right, new Vector2(1, -6), new Vector2(4, 0))
]
};
public static readonly ShotPattern ReverseSingle = new()
{
Shots =
[
new Shot2(MuzzleId.Center, new Vector2(0, 6), new Vector2(4, 0))
]
};
public static readonly ShotPattern ReverseDouble = new()
{
Shots =
[
new Shot2(MuzzleId.Left, new Vector2(0, 6), new Vector2(4, 0)),
new Shot2(MuzzleId.Right, new Vector2(0, 6), new Vector2(4, 0))
]
};
public static readonly ShotPattern ReverseDoubleSpread = new()
{
Shots =
[
new Shot2(MuzzleId.Left, new Vector2(-1, 6), new Vector2(4, 0)),
new Shot2(MuzzleId.Right, new Vector2(1, 6), new Vector2(4, 0))
]
};
public static readonly ShotPattern ReverseTripleSpread = new()
{
Shots =
[
new Shot2(MuzzleId.Left, new Vector2(-1, 6), new Vector2(4, 0)),
new Shot2(MuzzleId.Center, new Vector2(0, 6), new Vector2(4, 0)),
new Shot2(MuzzleId.Right, new Vector2(1, 6), new Vector2(4, 0))
]
};
}