Raptisha Posted April 10, 2017 Share Posted April 10, 2017 Hello everybody! I hope you are having a fantastic day! Our team wants to start making simple HTML5 games for our Android / IOS apps. Games are supposed to be ran inside the WebView. We are looking for a very lightweight engine, because there is already ads placed at the bottom of the screen in our apps. Our first attempt was Phaser.js, but the performance wasn't the greatest inside the WebView. Choppy sprite movements, common fps drops and so on. If you guys know an engine that could help us achieve the goal, please let me know! Thank you in advance! Quote Link to comment Share on other sites More sharing options...
bruno_ Posted April 10, 2017 Share Posted April 10, 2017 Try to use crosswalk webview. Quote Link to comment Share on other sites More sharing options...
Raptisha Posted April 10, 2017 Author Share Posted April 10, 2017 4 hours ago, bruno_ said: Try to use crosswalk webview. Not sure this is going to help. Correct me if I am wrong, crosswalk is used to turn web apps into native applications, so that they could be uploaded to Play Store / App Store. In my case, we already have an app, within which we are planning to launch our game. Quote Link to comment Share on other sites More sharing options...
bruno_ Posted April 10, 2017 Share Posted April 10, 2017 No, crosswalk is a webview and replaces your webview in your existing app. I think it's exactly what you need. Raptisha 1 Quote Link to comment Share on other sites More sharing options...
spinnerbox Posted April 11, 2017 Share Posted April 11, 2017 Crosswalk embeds Chromium engine inside your app, so that is why it will work faster. Adds additional 20MB to the file. Sadly Crosswalk version 23 will be last. Quote Link to comment Share on other sites More sharing options...
b10b Posted April 11, 2017 Share Posted April 11, 2017 6 hours ago, spinnerbox said: Crosswalk embeds Chromium engine inside your app, so that is why it will work faster. Adds additional 20MB to the file. Sadly Crosswalk version 23 will be last. Read with interest. I think this is great news as it's the official nod that Crosswalk is (or shortly will be) redundant. What used to cost 20MB-40MB is effectively available for 0MB on modern devices (since Android 4.4 iirc). Thanks Crosswalk, and farewell. Now if only iOS defaulted to wkwebview. spinnerbox 1 Quote Link to comment Share on other sites More sharing options...
mattstyles Posted April 11, 2017 Share Posted April 11, 2017 Yeah, its a great thing that Crosswalk can disappear, its a great achievement for all involved in the project that it was so successful its forced vendors to provide better platform solutions. Surely the goal for every project that shims cruddy platform behaviour. Quote Link to comment Share on other sites More sharing options...
bruno_ Posted April 11, 2017 Share Posted April 11, 2017 Crosswalk will disappear because starting in android 7, the webview uses the same libraries as Chrome. So, crosswalk would be an older version than the default webview. As for ios, the wkwebview has also good performance. So crosswalk is once again redundant. But for now, it's still useful to use it, to support older versions of android. spinnerbox 1 Quote Link to comment Share on other sites More sharing options...
spinnerbox Posted April 11, 2017 Share Posted April 11, 2017 If I understand well, we can now export android application with Android Studio with web view inside holding our html5/JavaScript application? Quote Link to comment Share on other sites More sharing options...
bruno_ Posted April 11, 2017 Share Posted April 11, 2017 I usually use cordova for that, to take advantage of the plugins to interact with native functionality. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.