Production. Singleton wrote the film based on his own life and that of people he knew. ... During writing, Singleton was influenced by the 1986 film Stand by Me, which inspired both an early scene where four young boys take a trip to see a dead body, and the closing fade-out of main character Doughboy.