projectile fix

This commit is contained in:
dingo
2026-01-19 11:07:24 -05:00
parent 11628617ae
commit 01a19056bb
7 changed files with 3514 additions and 32 deletions
+15 -5
View File
@@ -38,19 +38,29 @@ public class ProjectileInstance
public string SpriteKey { get; set; } = "projectile_default";
/// <summary>
/// Whether projectile uses linear rendering (front/back frames) or spins
/// Whether projectile uses linear rendering (front/back coordinates) or spins
/// </summary>
public bool IsLinear { get; set; } = false;
/// <summary>
/// Front frame index for linear projectiles (arrow tip)
/// X coordinate of arrow tip (front) in sprite
/// </summary>
public int FrontFrame { get; set; } = 0;
public int FrontX { get; set; } = 0;
/// <summary>
/// Back frame index for linear projectiles (arrow tail)
/// Y coordinate of arrow tip (front) in sprite
/// </summary>
public int BackFrame { get; set; } = 0;
public int FrontY { get; set; } = 0;
/// <summary>
/// X coordinate of arrow tail (back) in sprite
/// </summary>
public int BackX { get; set; } = 0;
/// <summary>
/// Y coordinate of arrow tail (back) in sprite
/// </summary>
public int BackY { get; set; } = 0;
// Player projectile properties
/// <summary>