Quote:
Originally Posted by DustyPorViva
This is something you could probably just switch over to clientside and see if the issue persists, and debug/refine the code there. This would be preferable since you can debug with easier methods, such as displaying images/polygons at the collision checks for visual reference, etc.
|
I believe it worked clientside but I don't remember lol..
I went past that after some reason.. My memory isn't too great.
Check the video, it seems like the type of grass is blocking...
Still makes no sense to me.. :c
I don't know how to use polygons and not sure how images would help checking o.o;;
Video is up... for some reason the grass is blocking and I still don't know why..
I mean, would it be appropriate to do
PHP Code:
if (checkBlockedTile(newx,newy) && tile[newx,newy] != 533){
this.dir = (this.dir + 2) % 4;
}
Seems like something that shouldn't need to be done..
PHP Code:
if (checkBlockedTile(newx,newy) && tiles[newx,newy] != 511){
this.dir = (this.dir + 2) % 4;
}
Well it works now, wasn't the type of solution I was expecting but whatever...