Quote:
Originally Posted by Crow
First off: you don't even have a player scope in that timeout. You will have to loop through all players and check them all. Also, this.width and this.height are set by setShape() already, I believe, and even if they aren't, they're way off. You want them in tiles, not pixels.
|
I think I get what you mean by looping through the players, and I had a hunch that the
setShape() set the width and height, but wasn't sure so I dumped the height and width check just for good measure. Also, how would I detect the tiles instead of pixels?