I have just been told about Play My Code. What a great little site.
You learn to program in Quby which is a Ruby like language, this is fairly easy to learn, although it is text based rather than Scratch’s more intuitive graphical interface. You can view the code of the games on the site and this allows you to learn from people who have developed games.
The site would benefit from some tutorials but the chances are that these can be found in youtube (I can’t check this from work though)