View Single Post
  #2  
Old 04-05-2012, 04:29 AM
Devil_Lord2 Devil_Lord2 is offline
David K?
Devil_Lord2's Avatar
Join Date: Apr 2011
Location: PA, MD.
Posts: 643
Devil_Lord2 can only hope to improve
Quote:
Originally Posted by DustyPorViva View Post
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...
__________________

Digital Media Artist - David K? </3 (UnLoved)
www.davidkrout.com
www.twitch.com/DavidKkz




Last edited by Devil_Lord2; 04-05-2012 at 04:42 AM..
Reply With Quote