Pretty Much what the topic says, i've got something trailing behind the player, but when the player moves, the trailing object just "jumps" to the next tile over... i know it has something to do with the x/y offsets but i'm not sure how to make it work. I'm about 95% sure it has to do with these two lines of code. If someone can help me with this/understand it i'd be very greatful
here's the two lines of code:
Code:
If GetPlayerX(Index) = X Or GetPlayerX(Index) = X - 1 Or GetPlayerX(Index) = X + 1 Then
If GetPlayerY(Index) = Y Or GetPlayerY(Index) = Y - 1 Or GetPlayerY(Index) = Y + 1 Then
The Blt Code Comes after that, so i blts 360 degrees around the player, but like i said it "jumps" in a direction as the player walks.
_________________
The quality of a man is not measured by how well he treats the knowledgeable and competent, but rather how he treats those less fortunate than himself.