Bad performances as iOS App but run prefectly in Safari

Discussion and feedback on Construct 2

Post » Mon Dec 08, 2014 4:44 pm

Hi everybody,

I'm making a simple game (WIP) that you can try here:
================================================================================================
TO PLAY
http://dijiko.com/dino/
Controls: Keyboard arrows - Left/Right to move, Up to shoot a fireball, Down to smash the cars
================================================================================================

I would like to build a native iOS App but when I do it with Ejecta, everything is very slow...
From my previous URL, in Safari, it works pretty well.
I tested my game on iPad Air, iOS 8.2

This game don't use physics engine. The animations are made with Spriter.
I'm a beginner so my code is probably not super optimised...
B
6
Posts: 9
Reputation: 268

Post » Mon Dec 08, 2014 6:11 pm

on iOS 8 and upwards, it may be preferable to use a webview based wrapper (Ludei's webview+ (not canvas+) is fast from what Silverforce tested), however I will let other people give their advice as I do not use wrapper myself.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Tue Dec 09, 2014 1:28 am

Ejecta is now outdated, it's slower than the default WebView (Safari) in iOS8+.

Ludei's WebView+ is even faster by many folds since it uses the enhanced WKWebView. It'll run your game exactly like your top end PC. Quite amazing in fact.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Tue Dec 09, 2014 1:51 pm

PhoneGap Build is also fast from iOS 8+. It doesn't make any sense to use Ejecta any more from iOS 8 onwards, and we recently deprecated support for Ejecta because of this. See HTML5 game performance on iOS 8.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,762

Post » Tue Dec 09, 2014 1:57 pm

@Aphrodite @Silverforce @Ashley Thank you guys!

I'm sad for Ejecta. It was really easy to build iOS games with it...

So, WebView+. Is there a tutorial to explain how to do?
I will take a look to PhoneGap too. I don't know why, I'm not confortable with it.
B
6
Posts: 9
Reputation: 268

Post » Tue Dec 09, 2014 3:21 pm

Ok, it's better with PhoneGap :)
Thank you!
B
6
Posts: 9
Reputation: 268


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 4 guests