part12studios wrote:I think it's a moving target at this point.. if you really want to know right now.. make some kind of test project.. like do a "on ever tick" spawn an object or something over say 10 seconds.. and count it. see what score you get on both. Although this is just one test it should still be a quick / dirty test to see which is able to generate more content fast.
part12studios wrote:it's a moving target.. i am sure things get faster / slower / shifting all the time.. file size should be the least of your concerns.. if the game is good people will download it. if they choose not to download your game because it's too big, they are fickle and thankfully a very small % of people downloading games.
Ashley wrote:The fact canvas+ (and really all non-browser engines) lacks so many features far outweighs any performance difference. Web Audio, form controls, XML parsing, standard-compliant inputs, sometimes even letterbox fullscreen, the list goes on and on. Fast and broken is worse than slower and working. If you can delete features to make something faster, it's not particularly useful if you need the features that got deleted. Note that (at least in the past I saw) it has other problems that come in to play as you increase the scale of your game, such as lacking the memory management that browsers have, so games tend to crash due to running out of memory where they would work in a real browser engine.
We deprecated non-browser engines a long time ago and I firmly believe no C2 users should use them, even if they're faster in some cases.
Modern webviews don't have any file size overhead. For example on Android if you target 5.0+, the APK is small compared to the size including Crosswalk. By the end of the year Android 5.0+ should be on the vast majority of devices. It's already at about 2/3rds worldwide.
part12studios wrote:how did you make a web view game? I don't see it as an option in XDK.. there is "cordova" but ultimately that seems (from my most recent game) to be bloaty and ran fine thus leaving me to think it's still using crosswalk.
Perhaps I get webview if i uncheck "optimize with crosswalk"?