I am experiencing a long time now a render glitch with is really been a pain in the "arssh". I never knew why this happened nor I wanted to ask it on the forums... But since I implemented mouseListener the coords are not always right because of lines that are bad drawn.

Normally a pixel in the game is 3 pixels from the screen but sometimes this 3 changes to 4 at several points (if you look at the grass/sand texture you will see bigger pixels that arent really 3x pixels but 4x (as in the ratio game:screen). I dont know what I am doing really wrong can't see something that is wrong.. Maybe it is just java and need to put more RAM into the game?

Screenshots:information:If you look at the inventoryGrid you see that some lines are 4 pixels wide and have the same draw code as others that are 3 pixels wide (what the normal ratio is). If you see at the left of the screen(top screenshot), then you see that the eyes of the MobPlayerMP are 4 wide aswell So I think I made a small error on how to draw the first coords or something.

Without analyzing your code, I had a similar problem with a game for android that I made.I was converting my position from double to integer to draw my images.Example:If you add 32.5 pixels each loop and you start at 0:0 + 32.5 = 3232.5 + 32.5 = 65

try drawing your border with lines instead of using images with lines in them already

This graphical glitch only happends at certain coords on the screen. It are always the same coords. And because I think the images are moving constantly, that there is nothing wrong with the border. Still Thanks for trying to help!

Without analyzing your code, I had a similar problem with a game for android that I made.I was converting my position from double to integer to draw my images.Example:If you add 32.5 pixels each loop and you start at 0:0 + 32.5 = 3232.5 + 32.5 = 65

but 32 + 32 = 64... you have 1 extra pixel there.

The problem is I am not using any doubles except from my movingspeed.. But still thanks for trying to help me!

EDIT: Actually, I don't even see it. And I couldn't check the actual width in Paint.NET, because the image is scaled.

All the scales are most times 1, except text. I think it might be a graphical error that the 1 pixel is just missing and there is nothing rendered on it.. Or something.. But it keeps getting more and more annoying as I want to progress with my game :/

Hold up Ive seen that tutorial and had the same issue you use the image.getwidth and image.getheight when rendering. Look at the code below for the solution to that issue!!!. However if you have your sprites and an odd size and you are not compensating for it then you will have an issue like this.

vaanzeeban yes?

Edit :if it is from the vanzeeban tutorials which it looks like it is goto this section of code

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org