An 11-year-old boy who shot dead a teacher and wounded at least six others people before killing himself at a private school in northeast Mexico on Friday was possibly under the influence of a violent video game linked to the Columbine massacre, it has emerged.

Schoolboy José Ángel Ramos also appeared to be dressed in the same clothes one of the teen killers wore during the massacre.

According to authorities in the state of Coahulia, Ramos asked his sixth grade teacher, María Medina, for permission to go to the bathroom to change his pants about 8.20am local time.

Worried that the boy was taking too much time to return to class, Medina went looking for him and found him holding two guns in the middle of a hallway at Miguel Cervantes School in the municipality of Torreón.

Ramos was wearing a pair of black jeans, suspenders and a white t-shirt bearing the name of the first-person shooter video game 'Natural Selection' on the chest.

Columbine killer Eric Harris wore the same t-shirt when he and Dylan Klebold murdered 12 students and one teacher on April 20, 1999.

Shocking photos from the scene showed the student's body next to that of his female teacher with a handgun on the floor between the boy's knees

José Ángel Ramos (pictured in the left image), the 11-year-old boy who shot dead a teacher and then killed himself at a school in Mexico on Friday, appeared to be dressed in the same clothes that Eric Harris, one of the teen killers, wore in the Columbine 1999 massacre. Harris (pictured left in the right image) was portrayed in the documentary film 'Zero Hour'

The 11-year-old boy who shot a teacher and killed himself at a school in Mexico on Friday almost had the same outfit as Eric Harris, one of the teen killers in the Columbine 1999 massacre

Paramedics carry one of the injured victims out of the school in Torreon, Mexico

The youngster opened fire with two handguns, killing 60-year-old Medina. He then wounded five students – including two girls aged seven and eight.

Aldo Omar Saldivar, a 40-year-old PE teacher, was also shot.

He told authorities that he was in the school yard when he heard several shots. He went into the school to see what was going on and was shot when he tried to hide from Ramos.

The wounded victims were all listed in stable condition as of Friday evening.

Miguel Ángel Riquelme, governor of the state of Coahuila, said Ramos was apparently been influenced by a first-person shooter game, 'Natural Selection.' Riquelme said he believed the boy had tried to 'recreate' the game.

The governor said that the teacher was shot when she asked the pupil what he was doing with the gun.

'He was a student who had no problems, had good behavior, but he had warned some classmates by telling them: today is the day,' Riquelme said.

The video game is made by San Francisco-based company Unknown Worlds Entertainment, according to its website. The company did not reply to a request by Reuters for comment.

Distressed parents and pupils gather outside Miguel Cervantes School in Torreón, Mexico, today after an 11-year-old boy gunned down a teacher before killing himself

State governor Miguel Ángel Riquelme said the boy may have been influenced by video game Natural Selection - a violent game where human 'space marines' shoot aliens.

Family members rushed to Miguel Cervantes School to pick up their children after a shooting which left two dead and six wounded

Experts have long debated whether there is a link between violent video games and aggressive behavior.

Mexican President Andres Manuel Lopez Obrador offered his condolences to the relatives of the victims and said more needed to be done to strengthen family life and prevent such events from happening in future.

Though homicides have reached record levels in Mexico during the past two years, school shootings are unusual.

Ramos lived with his grandparents and his mother passed away a couple of years ago

Torreón mayor Jorge Zermeno called him a good student and said there were no previous warning signs of Ramos carrying out the tragic shooting.

Members of Civil Protection are seen at a private school after the shooting in Torreon, Mexico

Distressed parents and pupils gather outside Miguel Cervantes School in Torreón, Mexico, today after an 11-year-old boy gunned down a teacher before killing himself

'Although he must have had some sort of problem, the school say he was a normal boy with good marks and no outward signs of any behavioral issues,' Zermeno said. 'It's terrible that a youngster aged 11 can go into his school with two guns and do what he did.'

Guillermo Siller, medical director of the Sanatorio Español hospital where the injured are being treated said the children's families are receiving psychological support.'

Distressing photos from the scene showed the student's body next to that of his female teacher with a handgun on the floor between the boy's knees.

Police and paramedics raced to the scene as frantic families flocked to the school and gathered outside. Torreón is a city with around 679,000 residents.

Television images showed dozens of police and soldiers surrounding the school.

Though homicides have reached record levels in Mexico during the past two years, such school shootings are unusual.

In January of 2017 a student killed a teacher and himself and also wounded four classmates at the Northeast American School, a private institution in Monterrey.

A woman reacts after the shooting at a private school in Torreon, Mexico