Are games meant to be slow in Intel XDK testing mode?

Discussion and feedback on Construct 2

Post » Mon Aug 03, 2015 2:54 pm

I tested my app on my phone in Intel XDK, and it was very laggy. It's an older version phone, so that might be a problem. It's a Galaxy S2. Are the games suppose to go in slow motion in testing mode? Also should the PhoneGap IAP plugin work in XDK? Thanks!
B
12
S
3
Posts: 129
Reputation: 1,131

Post » Mon Aug 03, 2015 5:37 pm

Unfortunately only the simplest of games will run on an S2 in "acceptable" quality. They won't run with full speed. The device is basically 2 generations too old for HTML5 stuff. Even on modern phones you have to optimize aggressively to avoid bad performance.
B
72
S
28
G
32
Posts: 477
Reputation: 19,640

Post » Mon Aug 03, 2015 7:09 pm

My Galaxy S3 is ancient right now, I'm able to keep the good framerate but i can feel I'm pushing it to the limits. S2 is a lot older and much weaker device, you should not expect miracles on it unfortunately :/
ImageImageImageImage
B
157
S
64
G
41
Posts: 2,590
Reputation: 34,640

Post » Mon Aug 03, 2015 7:13 pm

Have you tried testing your game with CocoonJS?
Risk Rocket now available on Google Play
Image
B
35
S
15
G
6
Posts: 337
Reputation: 6,275

Post » Mon Aug 03, 2015 10:33 pm

@Eisenhans \ @shinkan I'm getting a new phone soon, but i still play Clash Of Clans and other games like that with no lag. It's a pretty simple game, which i don't really care if it lags a lot on testing mode. I just want to make sure that it won't be like that when people play the game once i publish it. @UsmanHaq I haven't yet, but it's probably just a problem with my phone.
B
12
S
3
Posts: 129
Reputation: 1,131

Post » Mon Aug 03, 2015 10:56 pm

firezombie444 wrote: i still play Clash Of Clans and other games like that with no lag.


You cannot compare that. Clash of clans is a native game. C2 exports HTML5 games, that's like 50 more layers of abstraction ;) Wrappers like XDK don't magically make a native game out of it, they just package a browser engine with it. It's still "just" a browser game.

The newer the tech, the less a problem this is. On modern phones you can make perfectly fine HTML5 games with Construct2 that that run at 60fps.
But not with an S2.
B
72
S
28
G
32
Posts: 477
Reputation: 19,640

Post » Tue Aug 04, 2015 12:18 am

@Eisenhans Okay, but would newer phones still be able to play it okay?
B
12
S
3
Posts: 129
Reputation: 1,131

Post » Tue Aug 04, 2015 9:39 am

Depends entirely on the game and how well you optimized it.
That said, there are a lot of C2 games working quite well on mobile devices, you just have to do it right.
B
72
S
28
G
32
Posts: 477
Reputation: 19,640


Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 11 guests