Multitouch with AnalogOnScreenController

  ... the MultiTouch Extension for AndEngine.

Multitouch with AnalogOnScreenController

Postby AutoGibbon » Mon Jan 23, 2012 3:13 pm

First off, I have seen this thread http://www.andengine.org/forums/post23011.html?hilit=multi%20touch%20controls#p23011 in which an alternative to the standard on screen controls was given, as it was said that there is a bug with using on screen controls AND multitouch.

Given the age of the thread and seeing many posts about the engine always being modified, I wonder if it is wise to attempt using the given alternative. Or is there a special multitouch thingy I haven't seen? The examples for dual controls and multitouch work on their own, but a control and just touching the scene don't work simultaneously.

Any help would be greatly appreciated.
AutoGibbon
 
Posts: 5
Joined: Wed Jan 18, 2012 1:40 pm

Re: Multitouch with AnalogOnScreenController

Postby qboo » Sun Mar 25, 2012 3:38 am

Solved:
The key is to import andenginemultitouchextension.jar to your project and add 1 line to engine:
engine.setTouchController(new MultiTouchController());
qboo
 
Posts: 3
Joined: Sat Mar 24, 2012 11:56 pm

Re: Multitouch with AnalogOnScreenController

Postby Sellfeesh » Tue Jul 10, 2012 10:05 am

That was useful, thank you!
Sellfeesh
 
Posts: 68
Joined: Mon Apr 18, 2011 1:32 pm
Location: Moldova, Chisinau


Return to MultiTouch

Who is online

Users browsing this forum: No registered users and 2 guests