User friendly multitouch managment
Online Demo: http://www.julien-pierron.com/sample.php?sample=jpdemo
Forum Link: http://www.shivaengine.com/developer/forum/viewtopic.php?f=82&t=29258
Req. ShiVa Version:
ShiVa 1.9.2 Engines
Plugin Platform Compatibility:
iOS, Android, WinRT ARM/Phone 8, WinRT x86/_64, Windows Legacy, Mac OS X, Linux, Flash, Web Browser, Palm, Marmalade, BlackBerry, Windows Phone 7, Playstation 3, Playstation 4, Xbox 360, Xbox One, Wii
Seller information: Julien Pierron
ShiVa's multitouch is really hard to manage, compared to the mouse. "Taps" in the "onTouchSequenceChange" handler are not very convenient because all the inputs are sent to a unique handler and when the number of detected fingers change, the input order can change.
With JPMultiTouch, you are done with all of these problems, the multitouch management becomes so easy, using the same method than the mouse. Each time a finger is pressed, moved or released, specific handlers are called for each one: "onTouchInputBegin", "onTouchInputChange" and "onTouchInputEnd".
But wait, that's not all, by combining JPMultiTouch with JPButton, you provide to your HUD buttons the possibility to be used in multitouch, I mean you will be able to click on several buttons at once. Very convenient for games using a virtual game pad, for instance! There's nothing else to do than to add these 2 packs to your game and call JPButton.enableMultitouch ( true ) and it will work like a charm!
- ShiVa 1.9.2 or greater
- LUA project (not compatible with full c++ projects, compatible with LUA projects that use c++ plugins)
You can find an introduction on the packs and how to load them in your game here:
API & Instructions