It has been quite sometime since I was on Daniweb, and a lot has changed.
Anyway, I have decided to "fix" my old Java school ISU and make it better. (I am not in school so don't worry, I'm not cheating.) Here is my problem: I want a bullet to fire when I press the space bar. Ok, I did that and it works. What I want now is when I release the space bar I want the bullet to stop but I need it to stop say after the bullet has traveled 5000 X coordinates. As soon as I release the space bar the bullet stops.
How can I "delay" the bullet being stopped?