#Creating a bullet engine.
6 messages · Page 1 of 1 (latest)
Do you mean you want a bullet that your player can shoot with different guns, and the enemies can use the same bullet
make a Bullet class that extends Area2D, then make Weapon, EnemyAttack, and BossAttack classes that extend Bullet
functions in the Bullet script will carry over to the subclasses
Yes kind of, I want a bullet scene that can be assigned either a path or velocity that can be reused in the enemys and player's attacks
Can you make the bullet follow a path with a pathfollow node, a path, and a animationplayer. Then you in the script you only start the animation if the bullet should follow a path. Then if it should not follow a path then you fix with velocity. I'm new to Godot but I think it will work