[java] Centering the player
If I draw to the screen every frame how would I centrer over the player? I tried the translate() method but the screen doesn't stay centred over the player and it leaves "afterimages" of things drawn in the last frame.
Thanks.
Which way are you drawing the image, are you double buffering? Using BufferStrategy? Overriding the Pain() method?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement