Agreed I would really like to make a joystick with pure hype and JS, but not found a way to completely do that yet.
They joystick was only an experiment anyway… I think the real way I would do this if I was to put something like this in a iOS app would be to use the WKWebView cross directional control of the page and app. And then use cocoa/device motion controls.
by the way,
Your collision changes fixed the fist issue of paceman going out of boundaries .
I added a drag counter to control the speed of repeat drag events being accepted. This works well to some extent but not were I am fully happy with it.