Hey guys,
In my game I've been trying to shoot a fireball. So far I've been successful in getting it to shoot from the character, but I've run into a little problem. I have two variables for my player's location, playerX and playerY, and when you move these are overwritten based on which key you hit (Ex. right = playerX += 25). The problem i'm having is that the fireball draws from the original X and Y, where the character is originally drawn in, not the new X and Y coordinates from when I move. I would post the code but it's a bit messy and lengthy. Any suggestions?

P.S. I'm pretty fluent in Java, but still a begginner in Game development so anything helps
