Quote:
Originally Posted by Jakov_the_Jakovasaur
PHP Code:
temp.playerTile = tiles[player.x + 1.5, player.y + 2];
theres also tiletype:
PHP Code:
temp.playerTiletype = tiletype(player.x + 1.5, player.y + 2);
|
Do you think you could use it in an example for me, I'm having trouble understanding.. I was never good at tile stuff.
I'm using this for the check but I get errors. I guess I'm not using it in right context..
PHP Code:
if ((temp.playerTiletype == 23(player.x+1.5, player.y+2)){
player.chat = "found";
}