Attack the Block is the directorial debut of Joe Cornish, who drew inspiration from being mugged himself. He cast mostly unknown actors, including John Boyega, in the lead roles. The film has a relatively high budget of £13 million for a British film, which investors were willing to provide given Cornish's experience in television and the science fiction element making it appealing to wider audiences. The soundtrack was composed by Basement Jaxx and received positive reviews for how its electronic sound blended with the film's chaotic pace and helped add elements of fear and suspense.