Ill try to explain it more a little how i am making the character move.
It is a 2D game from a birds eye view. I couldnt figure out a way to make the camera showing the player pan, considering there are no camera function with 2d games. So instead, with each key press, everything moves around that player. I know this may not be too good, but i could not think of any other way to do it, and when i posted about it could not get a straight answer.
@ Pongo: I sort of see what you meen. Would that work from all angles of the building though. Because the problem i had before, was i had no way of defining which wall gave which collision, so colliding with the wrong wall would make you move in one direction every time.
Maybe i dont understand what you said, but in my head what you gave me sounds alot like what i tried before?
Maybe i am misunderstood, or you just didnt understand what i said. :)
It is a 2D game from a birds eye view. I couldnt figure out a way to make the camera showing the player pan, considering there are no camera function with 2d games. So instead, with each key press, everything moves around that player. I know this may not be too good, but i could not think of any other way to do it, and when i posted about it could not get a straight answer.
@ Pongo: I sort of see what you meen. Would that work from all angles of the building though. Because the problem i had before, was i had no way of defining which wall gave which collision, so colliding with the wrong wall would make you move in one direction every time.
Maybe i dont understand what you said, but in my head what you gave me sounds alot like what i tried before?
Maybe i am misunderstood, or you just didnt understand what i said. :)