CocoonJS export problems

Discussion and feedback on Construct 2

Post » Sat Dec 29, 2012 7:33 pm

Hi everyone!

I'm working on a very simple game and wanted to see how well it runs on my phone (HTC Sensation). Using the tutorials on this website, I previewed it over my LAN and also exported it to Appmobi (without Directcanvas) and CocoonJS.

What surprised me is that the framerate in all versions is pretty much the same (20 or less). I was expecting CocoonJS to increase the framerate, but it apparently has no effect at all compared to the preview LAN version, so I'm wondering if I did something wrong, or if I need to build it to a native app first to get the performance increase?

Any help or suggestions are very welcome. I've read through all the threads on the forums about this topic, but I haven't been able to figure out what and if I'm doing something wrong.

Thanks in advance!
B
3
Posts: 5
Reputation: 610

Post » Sat Dec 29, 2012 7:34 pm

I was also wondering if anyone knows when Appmobi will start to support Directcanvas for Android? Thanks!
B
3
Posts: 5
Reputation: 610

Post » Sat Dec 29, 2012 9:07 pm

This is odd... I'm getting better results with a complex game and a slower phone with cocoonjs...
What kind of game are you making? How many objects are on the screen? Are you using very large tiledbackgrounds or loops in your event sheet?
B
11
S
3
Posts: 224
Reputation: 2,028

Post » Sat Dec 29, 2012 9:53 pm

Hi there, good to hear you're getting good results with cocoonjs!

The game I have so far is fairly simple, there aren't a lot of objects on screen and I'm not using huge sprites or loops, so I was expecting much better performance. If you want you can check out my file here:
https://dl.dropbox.com/u/132377043/SharkAttack3.capx
B
3
Posts: 5
Reputation: 610

Post » Mon Dec 31, 2012 1:10 pm

Hi Koen,

Send us the HTML5 zip file and we'll take a look at it and see if we can figure out what's making it run that slow.
B
9
S
4
G
4
Posts: 383
Reputation: 3,616

Post » Mon Dec 31, 2012 3:21 pm

Thats the HTC Sensation i have the same problems.
B
5
S
1
Posts: 49
Reputation: 1,148

Post » Tue Jan 01, 2013 5:24 pm

Hi Ludei, thanks for wanting to check out the file!

Here's the zip:
https://dl.dropbox.com/u/132377043/sharkattack.zip

Do you know if it's a common problem that people are having performance issues running Cocoonjs exports on the HTC Sensation?

Thanks again!

B
3
Posts: 5
Reputation: 610


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 11 guests