projectile fix
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user