본문 바로가기

카테고리 없음

Java Gun Shooting Game Download

Closed as off-topic by, Mar 29 '16 at 2:41This question appears to be off-topic. The users who voted to close gave this specific reason:. 'Questions seeking debugging help (' why isn't this code working?' ) must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. – Yassin Hajaj, Hovercraft Full Of Eels, Reimeus, IanIf this question can be reworded to fit the rules in the, please.

GamesSimulator

Shooting Games Download

You're doing Graphics wrong by using a Graphics object obtained by calling getGraphics on a component. If this is Swing, draw the correct way in a Swing component's paintComponent method as the tutorials and many answers on this site will show you. You're code is also grossly over-using the static modifier suggesting that a re-write is in order to try to make this code more OOP compliant. Consider breaking this code into several independently testable classes as well which will make debugging easier for you and for us.–Mar 28 '16 at 21:14.