The source code of VVVVVV is now public! https://github.com/TerryCavanagh/vvvvvv
VVVVVV only seems to handle changed platform speeds properly when the level size is 20x20, though!