I was setting i=0 so that it would re-iterate through the loop after the loop had reached PROJECTILES.
I see no reason why you should need to 're-iterate' through that loop. In fact, the way that loop is currently presented is an infinite loop. The snippets of code as you've presented them aren't going to draw anything cause it never gets out of that 'Spacebar to fire' loop, so what are we missing?
It's not an infinite loop. PROJECTILES is 5, so the most i will ever be inside the for loop is 4. When i is incremented to 5 at the end of the 5th iteration, the for loop will no longer execute, since 5 < 5 is false.
The if (i == 5) i = 0; is never hit.