jeromeetienne / virtualjoystick.js

a virtual joystick library to emulate a joystick on touch screen in javascript
http://jeromeetienne.github.com/virtualjoystick.js/examples/basic.html
MIT License
417 stars 125 forks source link

Lock joystick base in a specific place #12

Closed Forzaferrarileo closed 10 years ago

Forzaferrarileo commented 10 years ago

I tried setting the position from absolute to fixed , but it doesn't work . there's a way to do that?

jeromeetienne commented 10 years ago

i dunno. i never tried

erichlof commented 10 years ago

@Forzaferrarileo and @jeromeetienne ,

Referencing this issue: https://github.com/jeromeetienne/virtualjoystick.js/issues/13

jeromeetienne commented 10 years ago

@Forzaferrarileo it is now possible thanks to @erichlof. see the stationary base example