Though sometimes very expensive ... studios have also figured out the key to making an animated film that manages to be both funny and well-written.