New answers tagged game-loop
The is no problem with your repaint() method. The problem here is that the Sparx you update and move is a different Sparx then the one you render/paint. In your Board class you create a new Sparx instance and this is the one you render out. This is a different instance from the one you create in your StartingClass and update the position of. Simply ...
Top 50 recent answers are included