Danmaku system

This commit is contained in:
Marco 2025-02-05 19:41:49 +01:00
commit fdec052c16
38 changed files with 924 additions and 9 deletions

View file

@ -97,7 +97,6 @@ public partial class Weapon : Node2D
// Rotate the ShootDirection by the spread angle
Vector2 spreadDirection = ShootDirection.Rotated(Mathf.DegToRad(spreadOffset));
var bullet = this.CreateChildOf<Bullet>(_gameManager.BulletsContainer, BulletScene, _muzzle.GlobalPosition);