Author Topic: How do I gun  (Read 3845 times)




Alright, I just tried it out and it doesn't work right at all.
1. It shoots 4 bullets out, not 3.
2. 1 bullet flies straight ahead, while the other 3 fly out in any direction.

1. It shoots 4 bullets out, not 3.
So lower the %shellCount variable in the onFire function by one.
2. 1 bullet flies straight ahead, while the other 3 fly out in any direction.
That's what it's supposed to do with the code you put in. What do you want it to do?

That's what it's supposed to do with the code you put in. What do you want it to do?
Shoot 3 bullets, all of them slightly inaccurate.