The writer creates the world of the story and then finds the most visual way of exploiting that world and creates the genre-appropriate set pieces and most importantly determines what the characters are actually DOING (not just saying) during the entire film.