I encountered a big sticking point in a Java game I've been coding over the summer. I was working on it pretty steadily until mid-June but since then I've been stuck on a single thing. My character is supposed to be able to charge and shoot qi blasts, and that part works, but *some of the time* I get one or more extra unwanted qi blasts. Actually it happens pretty frequently.
Unlike the single qi blast that is supposed to be created, these ones start out fully charged and they fire off in random directions (instead of in …