"2. Download the code to see how it was done."
It's a little difficult to look at the code to see how it's done when it's all inaccessible in an archive.rpa file. =/
I've updated the download so it's just the raw files without the Ren'Py game. You can add them to your own Ren'Py game to test it locally.
Thanx! Very cool and helpful resource.