The first has been adapted into a live-action film The Last Airbender , directed by M. Night Shyamalan and was released in July 2010 . The first has been adapted into a live-action film The Last Airbender , directed by M. Night Shyamalan and was released in 2010 .