Sorry for the extremely late comment. But how would you get this to work in something like... Nifflas's platform engine/widget? Is it possible or should I just not bother and edit this example file?