my game run slowly in android !

Get help using Construct 2

Post » Wed Jan 14, 2015 5:07 pm

hi i created a simple game with construct 2 and when i playing in android -> running very slow
i deleted above 100 event of my game but running slow yet !
(i use platform behavior for my player because physics are not good )
Image
Image
Image
B
6
S
1
Posts: 41
Reputation: 754

Post » Wed Jan 14, 2015 7:27 pm

Maybe the problem is to android compiler you use, not to construct 2.. Try to export and test to some compilers like cocoonjs, intel xdk, etc

I had too, "slow" problems.. and i try in construct 2 to have less memory.

For example.. small size of images, not too big layout and of course less code.

I hope someday, construct 2 to create a ready for use android compiler.. or to do something with the memory!

Cheers.. : -)
B
51
S
31
G
11
Posts: 226
Reputation: 10,674

Post » Thu Jan 15, 2015 8:08 am

Thanks
But i use small image and i use only 8 sprite without scale size
I try game without compiler (play with google chrome online ) but when i use intel xdk my game run slowly too
:(
B
6
S
1
Posts: 41
Reputation: 754

Post » Thu Jan 15, 2015 8:53 am

You mean.. you run the game in chrome and is still slow?
If yes... It's some strange. Which version of construct you use? Maybe something is buggy. Like some behavior, i don't know..

Also check the points inside your sprites. More points, more memory..

If you use small images, the next step, check the code. Maybe you can change a bit with different behaviors, events, whatever

Intel xdk is slowly compiler. Try cocoonjs, i think you will see difference..

Cheers
B
51
S
31
G
11
Posts: 226
Reputation: 10,674

Post » Thu Jan 15, 2015 9:22 am

Can you post the entire capx? I could try it on a few devices or look at the events.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Thu Jan 15, 2015 9:33 am

no i run in google chrome with ip -> 192.168.1.6:50000 and run in my phone google chrome but running slow like intel xdk (not difference between compiled game or on browser game )
(sorry for my english i can not say my mean :)) )
my project : http://s4.picofile.com/file/8163963342/ ... .capx.html
B
6
S
1
Posts: 41
Reputation: 754

Post » Thu Jan 15, 2015 10:02 am

orache wrote:no i run in google chrome with ip -> 192.168.1.6:50000 and run in my phone google chrome but running slow like intel xdk (not difference between compiled game or on browser game )
(sorry for my english i can not say my mean :)) )
my project : http://s4.picofile.com/file/8163963342/ ... .capx.html


hmm that link is doing nothing for me.. but I'll keep trying

edit: can you attach it here?
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Thu Jan 15, 2015 11:32 am

ohh you right . sorry
You do not have the required permissions to view the files attached to this post.
B
6
S
1
Posts: 41
Reputation: 754

Post » Thu Jan 15, 2015 11:52 am

Yeah, pretty jerky. It settles down after 30 sec but then still has occasional jitter even on pc.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Thu Jan 15, 2015 12:51 pm

@orache - Did you build for Crosswalk? That is the webview that gives you the performance improvements.
Intel Corporation
B
5
S
2
Posts: 133
Reputation: 871

Next

Return to How do I....?

Who is online

Users browsing this forum: sublimate and 2 guests