just made the x and y for tiles multiply by widht and height... and there we go