Hello guys
In my game the player sits in the middle of the screen and shoots on enemies coming all around it. (none vr/ar game)
I have 3 :systems protocol already
- to spawn the enemies using timer and budget
- a different one to move them to the player direction
- pool system that turned off dead enemies
Because reality kit is a high level framework i dont know what is the fastest way to design the bullet system for better cpu speed
A. Seperated system for the bullets, asking to know the closest enemy to travel to, hit, and move to the disable pool system if died.
or
B. Use the same system that moving the enemies but in a seperated loop (prabably one before moving the enemies)
Thanks for the help