Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by Jerczu

I've noticed if I dont bind any "buttons" the mouse reads ok as soon as I bind any part of the screen with bindTouchArea mouse readings die. Is there a way to have them at the same time? Lets say buttons at the bottom of the screen and the rest reading touch info?

I'm guessing the answer will be no and I will have to choose either way for control.

1 decade ago by dominic

Just tried it - works perfectly as far as I can tell. ig.input.mouse.x/y is still updated, regardless of whether you use .bindTouchArea or not.

Maybe you forgot to call ig.input.initMouse() or bind ig.KEY.MOUSE1?

1 decade ago by Jerczu

Hmmmmmm... Weird... I'll have to test it better... It didn't work for me when I had bind touch and mouse but when I removed bind touch it did... I'll have to test it a bit better I guess.
Page 1 of 1
« first « previous next › last »