Study the information about spelling in the past perfect continuous.
  
shutterstock_570154432.jpg
  
Past perfect continuous (spelling tips for adding the ending -ing to a verb):
 
Add -ing to most verbs.
play – playing
shutterstock_513148543.jpg
For verbs that end in -e, remove the -e and add -ing.
ride – riding
shutterstock_555469114.jpg
For verbs that end in -ie, change the -ie to -y and add -ing.
die – dying 
                                                
shutterstock_445992454.jpg
For verbs with last syllables being stressed 'consonant-vowel-consonant' combinations, double the last letter before adding -ing.
beg – begging  
Begging.jpg
 
Signal words: 'all (day, year ...)', 'for (5 minutes)', 'since', '(the) whole (day, week,...)', etc.
 
Examples:
  
They were tired. They had been playing for 2 hours.
  
My friends were happy. They had been riding horses for 3 hours.