The movie was directed by Edgar Wright , who co-wrote it with Simon Pegg . It stars Simon Pegg and Nick Frost . Shaun of the Dead is a 2004 British romantic zombie comedy directed by Edgar Wright , starring Simon Pegg and Nick Frost , and written by Pegg and Wright .