Philzen's Recent Forum Activity

  • basspenguin gave the correct background info - there is an enabler for multitouch on 2.x: github.com/Philzen/webview-multitouch-polyfill

    Of course that will only work if you have control over your app container and are willing to provide one on the market for your 2.x users.

    Would love to hear if one could get your plugin to work with WMP on 2.x

  • Just to clarify:

    • MTFix is currently merging into WebView-MultiTouch-Polyfill (WMP), the github repo is the single place for progress updates
    • HammerJS is a handy JS event framework, but nothing alike the first two
    • WMP does not require nor mean Phonegap (but is compatible with it and also on the same roadmap)
    • One can use WMP to enable the multitouch on potentially any html app, but only if you provide your own browser app, which is basically a container app with nothing but a WMP-enhanced WebView
    • As Ashley already clearly stated CS2 will also enable multitouch, it just works rather differently. As far as i understand, it transforms and executes parts of your html app with native methods, thus being faster, but also tailored for a more specific type of apps

    Hope i could help, pls correct me if i'm still getting the CS2/DirectCanvas totally wrong, still didn't get to test it but i'm still looking forward to it...

  • Questions:

    Making native apps with CocoonJS or directCanvas is *the* workaround.Can you elaborate on that?

    After having been googling for "multitouch android 2.x" for months and being surprised there was nothing even in phonegap/cordova, WMP was created out of desparation. I am also wondering why nobody posted that to the appropriate Android Bug Ticket

        Both workarounds posted by Philzen seem to require making a native app too.

    So are you saying i can actually include either CocoonJS or directCanvas in my project and it will make any html5 based app work with multitouch on android 2.x, no matter whether the app is local or remote?

    That'd be absolutely awesome and i would certainly want to use that further advanced project.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • These two polyfill solutions that (re-)enable the Android 2.x browser with multitouch came up just recently:

    MTFix and WebView MultiTouch Polyfill (WMP)

    Whilst MtFix requires another javascript-file to be included, WMP is self-contained and thus enables multitouch on existing and/or online multitouch apps without further ado.

    However, both polyfills will require you to provide an Android app container for download via the market. If that isn't a problem (i'd be happy to provide one), you could still have a pure online game, so when a user agent string containing a specific 2.x series webkit version is detected, you simply make a notice/direct link to the app container to download for 2.x users.

    As both were developed with the priority intent to get pinch zooming working (which both solutions successfully do), there is still a lot of device testing to be done and opportunity for optimisation to be realised.

    Therefore, speaking for the WMP project - it'd be great any HTML5 game developers would test and share their experiences, ideas and criticism by filing bug reports and questions on the Github page for WMP.

Philzen's avatar

Philzen

Member since 21 Jun, 2012

None one is following Philzen yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies