functional texture atlases esp in player2d