Pattern burst rotation

This commit is contained in:
Marco 2025-09-24 16:51:47 +02:00
commit 099c8acf5e
10 changed files with 538 additions and 477 deletions

View file

@ -50,13 +50,13 @@ public partial class BulletResource : Resource
RotationOffset = rotationOffset,
Modifier = Modifier,
LifeTime = LifeTime,
DestroyOnCollision = Attributes.HasNoFlags(BulletFlags.Piercing),
//DestroyOnCollision = Attributes.HasNoFlags(BulletFlags.Piercing),
DestructionParticlesScene = DestructionParticlesScene,
RotateSprite = Attributes.HasFlag(BulletFlags.Rotateable),
Controllabe = Attributes.HasFlag(BulletFlags.Controllable),
Freezable = Attributes.HasFlag(BulletFlags.Freezable),
//RotateSprite = Attributes.HasFlag(BulletFlags.Rotateable),
//Controllabe = Attributes.HasFlag(BulletFlags.Controllable),
//Freezable = Attributes.HasFlag(BulletFlags.Freezable),
TimeModifiers = TimeModifiers.Select(x => x).ToList(),
Grazeable = Attributes.HasFlag(BulletFlags.Grazeable),
//Grazeable = Attributes.HasFlag(BulletFlags.Grazeable),
GrazeValue = GrazeValue,
Attributes = Attributes,
// TimeModifiers = TimeModifiers?.Where(mod => mod is TimeModifier).Cast<TimeModifier>().Select(m => new ModifierWrapper()