Image caption Hines, pictured in 1984, was diagnosed with Alzheimer's disease in 2009

Barry Hines, the Yorkshire author who wrote the novel on which Ken Loach's film Kes was based, has died aged 76.

The news was announced on Twitter by the poet Ian McMillan and subsequently confirmed by a friend of the author.

Born in a mining village near Barnsley, Hines also wrote Threads, a 1984 BBC film that dramatised the effects of a nuclear strike on Sheffield.

Hines, who collaborated with Loach on a number of other projects, was diagnosed with Alzheimer's disease in 2009.

Hines, who was born in Hoyland Common in 1939, left school without qualifications but later returned to complete his education.

He went on to become a teacher before turning to writing and publishing his first novel, The Blinder, in 1966.

Image copyright Rex Features Image caption David Bradley played the lead role of Billy in Kes, the film of Hines's best-known novel

His second novel - A Kestrel for a Knave - about a young working-class boy named Billy who finds and trains a kestrel, was published in 1968 and filmed the following year.

According to McMillan, the book had a massive impact on a generation of Yorkshire writers.

"It was our Moby Dick," he told BBC News. "It taught us that people from around here can write, that the places we live in can be fit places for literature."

Two of Hines's subsequent novels, The Gamekeeper and Looks and Smiles, were also filmed by Loach, for whom the author also wrote the 1977 TV drama The Price of Coal.

Hines's other credits include the 1992 TV film Born Kicking, about a female footballer signed up to play for her local team.

The author had himself played football as a child for the England Grammar School team.

Media playback is unsupported on your device Media caption A clip from 1984 drama Threads

Actor David Morrissey is among those to have paid tribute to the author, tweeting that he had "loved" Hines's writing and that Kes had been "a huge influence".

Authors Jonathan Coe and Joanne Harris have also paid their respects, with the former tweeting that he "leaves a great legacy".

"I hated and loved [Hines] at the same time," wrote Harris, "for writing the world I saw every day, and for giving me hope to escape it."

Michael Dugher, Labour MP for Barnsley East, remembered Hines as "a brilliant, inspiring talent".

Hines's brother Richard recently published a memoir, No Way But Gentlenesse, in which he revealed it had been his falconry skills that had inspired his older sibling's best-known work.

"[Barry] said, 'I'm going to write this book about this kid who keeps a kestrel,'" Richard Hines told BBC 6 Music last month. "I thought, 'That's not a very good idea.'

"I said, 'I wouldn't give him a kestrel, let him train an escaped goshawk.' If Barry had listened to me, there would have been no Kes."