Help please, build causes lag.

Get help using Construct 2

Post » Fri May 08, 2015 11:37 am

Hey, I have recently made a small game, and built it for web, and played it through chrome on my cell. However, when I followed the tutorial, and build it using cordova to test it on my android after downloading the build again from Intel XDK. The game feels laggy. Using XDK's test without a build seems to work fine though. Does anyone know what this may be? It is kind of frustrating.
B
3
Posts: 5
Reputation: 185

Post » Fri May 08, 2015 11:50 am

Think you need to provide some code or performance data, its really hard for people to debug a feeling that it might be slower :D
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848

Post » Fri May 08, 2015 12:22 pm

Okay, sorry, I was just assuming it was something stupid during build I didn't know or something. will this help?
Thanks for coming back to me by the way.

Image
B
3
Posts: 5
Reputation: 185

Post » Fri May 08, 2015 12:43 pm

Well im not really into Cordova and all those mobile issues. So probably, I cant help you at least. But the performance seems to be 120 FPS no collisions, low memory use. I can see you have paused it, are the numbers you get the same when you run it? Because from what I can see there shouldn't be any problems if this is the performance you get, at least according to the debugger.
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848

Post » Fri May 08, 2015 2:54 pm

Yes it's all the same while running. This is what I don't understand. It's a real headscratcher. Weird thing is also that it runs fine in the browser from my dropbox, but as the app I built it seems to lag. I am wondering if ludei's cocoonjs is better or something. I think I will test a cocoon build later on to see.

Image
B
3
Posts: 5
Reputation: 185

Post » Fri May 08, 2015 3:00 pm

I see, you need some of the people that knows about mobile exporting to help you, I know nothing about what to expect from them as I don't make anything for those platforms.
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848

Post » Fri May 08, 2015 3:08 pm

I see, well thanks anyways! I appreciate your time. Hopefully someone will come to my rescue. :)
B
3
Posts: 5
Reputation: 185

Post » Sat May 09, 2015 5:21 am

I'm having the same issue.

I can put just a square on the canvas and animate it with sine movement and it will cause things to lag.

Run the same game on a mobile web browser and it's very fast.
Check out http://3dswing.com/ for games (in the works) and tutorials on Q3D plugin for construct 2.
-Masterofwin
B
9
S
2
Posts: 53
Reputation: 664

Post » Sat May 09, 2015 6:17 am

How did you build your game inside Xdk did you use the Android option or Crosswalk
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Post » Sun May 10, 2015 2:50 am

I personally used the android option.
I can try crosswalk.
Check out http://3dswing.com/ for games (in the works) and tutorials on Q3D plugin for construct 2.
-Masterofwin
B
9
S
2
Posts: 53
Reputation: 664

Next

Return to How do I....?

Who is online

Users browsing this forum: Artcadev, ignaciosimo and 58 guests