I've been at this for a while now, and I really don't know what's causing the problem. The tiles are loaded from an image file (1 pixel = 1 tile) and all the tiles rotate in a strange fashion. They don't rotate clockwise or counter clockwise, they seem to switch places. But the strange thing is that only the tiles's images change their position, so if a grass and a water tile change their position you will be walking on water and swimming in grass, if you can get what I mean. Below are some images to better illustrate the problem.
The images are kind of big so I just linked to them.
https://dl.dropboxusercontent.com/u/267089024/help.png
This one better illustrates the problem.
https://dl.dropboxusercontent.com/u/267089024/help2.png
The same map, only swimming.
https://dl.dropboxusercontent.com/u/267089024/help3.png
Here's the link to the source code:
https://dl.dropboxusercontent.com/u/...024/Source.rar
And here's a link to the exported jar file:
https://dl.dropboxusercontent.com/u/...4/JavaGame.jar
I'm really clueless on what to do, and I have no idea how to solve the problem. I made this started making this game while following a Youtube tutorial, so I'm gonna try and rewatch some of the videos again. Maybe it turns out I typed a wrong number somewhere or put a Y where X was supposed to go.
Anyways, thanks in advance to anyone who helps out.
Oh, and I wasn't sure if I should've put this in the AWT / Java Swing forum or the Java Rendering and Gaming one.
EDIT: I've figured out the problem. After not working on this some time when I cam back I noticed there was a render method
public void render(Screen screen, Level level, int y, int x)
This is why you don't make shitty games in the damned console. In curses all of the functions would first take y and then the x coord...