Spaceballs is a 1987 American space opera parody film co-written, produced and directed by Mel Brooks.