|Topic was automatically imported from the old Question2Answer platform.
I was thinking on how to best implement a bullet function.
Suppose I have a project structure
Main > Player (KinematicBody2D), and I have a
Bullet (KinematicBody2D) scene waiting to be instanced.
If I want to instance a bullet, I can instance it in the
Main by making the
Player scene send a signal to the
Main, or I can directly instance it in the
Player scene without having to send a signal.
Is the other implementation better than the other? Or is there a better way to do this other than the two. I’m mostly concerned on what implementation would be the best performance-wise.