Hi!
Hm, yes I think I understand. I use 700 because my background image is 1400 in width and do the check against each side since the red color is in the middle.
Yes, I agree, it’s maybe not flexible, but it works fine for bottom and top of the player.
Not solved the sides yet. I will however try to find another solution and not do the check as in my last example.
Anyway, if you tested the code in AUM you maybe notice that the player is inside the water a little.
That’s no problem to solve. The big problem is just this corner glitch or what I shall call it. So I agree, it’s best to find another solution.
Last edited by Gastara; 06/24/10 21:22.