Hello,
I'm doing a space shooter and I came across a doubt. For me to do the ship fire multiple shots there is a "more elegant" solution than this (see screen shoot)
The idea is that the ship shoot several shots as the scope below
Tnks all
Develop games in your browser. Powerful, performant & highly capable.
Use what works. You can make it better as you learn more.
For some reason your image is cropped and I can barely see the code. I will look over my space shooter tonight and let you know how I handled the multi shots.