Ashley
[quote:1dnkvluy]Webviews on modern devices are perfectly fast. I doubt you will be able to measure any performance difference to something like Canvas+, unless the device has a blacklisted GPU,
A simple test can Revel the truth
Capx:
Its done really quick and I didn't look to make it perfect, but it shows my Point very clear
https://www.dropbox.com/s/nzgkezqa6oehywo/1-WebviewTest.capx?dl=0
Videos: Test done in an Iphone 6
This is a test Exported with Cocoon WebView (but exactly the same happens with PhoneGap)
https://www.dropbox.com/s/ni44kmt4g4svr ... w.mp4?dl=0
And This is a test Exported with Cocoon Canvas+
https://www.dropbox.com/s/568asek26khbc ... B.mp4?dl=0
Steps to Reproduce
Move around so the Enemies (Red Squares) can find a path to the Player, Every 1 second
On the Trigger were they start looking for Path I set their frame to 1 which is = Yellow
On Trigger Path Found I set the Frame Back to 0 which is = Red
Observed Result
WebView:
it takes for Ever to find a Path, you will see that the frame stays Yellow for long periods of Time when it should only blink really quick, meaning that is that slow that sometimes they stack in the same position looking for Path.
Maybe Here you will not appreciate much but when this happens on my Game where the enemies should continuously hunt the Player and they are about to catch the Player and suddenly they just stop taking a sun bath for long periods of time, doesn't look good at all you cant call it a Game.
Canvas+:
Is that Fast that you cant even see the blink from one frame to the other
And again here you will not appreciate but in my Game, you can see how everything moves Fast, how quick they swap Directions, how quick they execute the Events and many more things, so yeah is a big Gap and you can easily compare them both and find out who is faster, I do.
===============================================
And you would think ok maybe if I do my custom "Path finder" will be Much better but no is not the case, the same thing happens with "loops" you cant use them as it brakes the Game and the stutters make it unplayable swell. there is no solution whatever you do.
Honestly, between Stutters and WebView processing the code so slow is making us the Live Hell and miserable at last for me, it shouldn't happen especially now that we pay 99 a Year
I personally spend and waisted 4 exclusively months trying to make work a "Path Finder" that it supposedly should work out of the Box, let alone the Problem with the Stutters all of this thanks to WebView
In four month how many games, or things I could have done?
If I was making a living from Mobile Game Development how can anyone afford to lose such a long time just to make work a behaviour or Loops with Webview?
When you guys gonna start to take seriously the Real problems that we face on our side. when are you gonna start listening to your customers? I mean this is getting really tiring.
Is there anyone at Scirra doing Tests with Exported Games?? because it cannot be that only us experiencing these things.
Are you doing anything to fix these Problems in the New Run Time??? I hope yes because it really starts to be depressing.
I played many many Mobiles Games and I never experienced any of this problem on them only Construct does these things