A
A
Anton Borisenko2016-12-20 16:53:50
JavaScript
Anton Borisenko, 2016-12-20 16:53:50

Is it worth throwing a bridge between Java and Js?

I'm making a mobile game on html5 canvas. I create builds using android studio, I push the game into WebView. At the moment, I process all touch events using js and the brakes are already noticeable at the first touch and when zooming (moving two fingers). As far as I know, you can throw a bridge in js, that is, catch events using Java and call js functions to handle these events. Is it worth it, will it solve the performance problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question