Understanding performance on older iOS?

Discussion and feedback on Construct 2

Post » Thu May 26, 2016 9:46 am

You were basically not getting WKWebview to work with Intel XDK.

Which is odd since it works well for me.

Without WKWebView, performance is horrible on iOS.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Thu May 26, 2016 9:54 am

Ok so WKWebView does work with Intel XDK as well? I read in the construct2 release notes for v224 (I think?) that Ashley hoped to get WKWebView working with XDK 'soon' but at that point it only worked with PhoneGap. So I wasn't sure if that had been achieved.

Hmm I wonder what I'm doing wrong in XDK? Are there any tricks to get WKWebView working in XDK?
B
66
S
46
G
57
Posts: 387
Reputation: 35,721

Post » Thu May 26, 2016 10:46 am

Yes, WKWebView should work with the latest version of the Intel XDK. It was added after the r224 release notes were written. It's only automatically enabled if you use the new Intel XDK project format though.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454

Post » Thu May 26, 2016 1:32 pm

Ah that's what I'm doing wrong then. I'm not using the new XDK project format. Ok that's the first test tmoro morning.
B
66
S
46
G
57
Posts: 387
Reputation: 35,721

Post » Sat May 28, 2016 9:25 am

So basically I missed this post.

I swapped over to using the new XDK proj format and I am now getting 60fps and <50% CPU usage on my iPhone5 with iOS builds from XDK!

Super happy with this!!! Onward to make 60+ levels for my game! :D

Image
B
66
S
46
G
57
Posts: 387
Reputation: 35,721

Post » Sat May 28, 2016 12:10 pm

@Artpunk - what's the game name if we can know? i see it's some chicken.. seems like it's gonna be super crazy fun :D (chicken knight? chicken exploder? chicken marvel? chicken terminator?) :D
Sea Monsters template - Isometric
Also includes 40 pages PDF of optimizations and "how-to" for your games, and how the "sea monsters" template was built. Follow link for details :)

sea-monsters-templates-and-assets_t162705
B
41
S
14
G
12
Posts: 623
Reputation: 9,359

Post » Sun May 29, 2016 9:13 am

@saiyadjin Well, I haven't settled on a name for it at the moment. Still thinking about that. Its a simple platformer where you burn through the levels, dodging obstacles, killing enemies and collecting items. Levels will be short and fast, but as the game progresses the difficulty ramps up, hopefully making it challenging.
B
66
S
46
G
57
Posts: 387
Reputation: 35,721

Post » Sun May 29, 2016 11:29 am

nice. seems like fun game :) post when done :)
Sea Monsters template - Isometric
Also includes 40 pages PDF of optimizations and "how-to" for your games, and how the "sea monsters" template was built. Follow link for details :)

sea-monsters-templates-and-assets_t162705
B
41
S
14
G
12
Posts: 623
Reputation: 9,359

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: HenryPK, newt, tarek2, Yahoo [Bot] and 3 guests