Help me in performance

Discussion and feedback on Construct 2

Post » Fri Jul 27, 2012 8:37 pm

Hello everbody...

I study construct2 a few weeks, but Im loving this

And now I have a great problem :/

I build a simple game in construct2 and now I export using phone gap and the .apk installing, but play very slow :/ .. above 4~6 FPS...

I post my capx and .apk here, plz somebody give me a help.. lol =)

http://www.acifee.com.br/construct/detone_bacterias.capx
http://www.acifee.com.br/construct/bacterias_debug.apk

if not work, take this in http://www.acifee.com.br/construct/ -> using right click and save as.

Thanks

PS: Sorry about my poor english.
B
4
Posts: 8
Reputation: 464

Post » Fri Jul 27, 2012 8:58 pm

I'm afraid I don't have the time to test your .capx right now, but I can link you to two great tutorials for performance.

http://www.scirra.com/tutorials/298/performance-tips-for-mobile-games
http://www.scirra.com/blog/85/the-great-html5-mobile-gaming-performance-comparison

If it's too long and you didn't read: Lots of performance tips, Scirra recommends using CocoonJS and Directcanvas for publishing.
B
19
S
5
G
1
Posts: 104
Reputation: 2,920

Post » Fri Jul 27, 2012 9:24 pm

Scirra has officially said that PhoneGap is unsuitable for making games.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Fri Jul 27, 2012 9:59 pm

[QUOTE=sqiddster] Scirra has officially said that PhoneGap is unsuitable for making games.[/QUOTE]

Should probably remove it from C2 entirely in that case.
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Sun Jul 29, 2012 12:01 pm

We won't remove PhoneGap because some people still use it to publish games, and in future when phone browsers are actually decent it will become a viable option for publishing again. It's just in the short-medium term it's unsuitable for publishing games and at the moment we strongly recommend publishing via CocoonJS or directCanvas.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Wed Aug 08, 2012 12:37 am

Im reading something about cocoonJS and directCanvas, thanks by hints.
B
4
Posts: 8
Reputation: 464

Post » Wed Aug 08, 2012 5:01 am

Another link to help with performance
http://www.scirra.com/manual/134/performance-tips
B
36
S
10
G
6
Posts: 948
Reputation: 11,101

Post » Wed Aug 08, 2012 3:50 pm

It's not true that PhoneGap cannot be used for games, not only that but it's currently the only way to have Game Center support on iOS as well as iAds and IAP.

The problem is the online building service. To reach decent (and I stress decent) you have to compile everything by yourself and edit some of the PhoneGap code for optimization, with the online build service this is not possible and result in unsitable packages.
I'm about to publish the game I made with c2 with PhoneGap only because both CoocoonJS and AppMobi are incomplete products, it is possible but it requires extensive knowledge of xCode if publishing for iOS or Eclipse for Android.
My dream would be that @Ashley could edit PhoneGap (leaving all the good things such as plugins intact) to work with DirectCanvas that could really be the beginning of something great.

If I'll ever be able to finish this game I'll publish a tutorial for optimizing PhoneGap.

To potential developers, do not dismiss PhoneGap.
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Post » Tue Aug 21, 2012 6:11 pm

[QUOTE=0plus1]... If I'll ever be able to finish this game I'll publish a tutorial for optimizing PhoneGap.

To potential developers, do not dismiss PhoneGap.[/QUOTE]

Its a great idea, share with us
B
4
Posts: 8
Reputation: 464

Post » Tue Aug 21, 2012 7:18 pm

Waiting for @0plus1's tutorial :)
B
29
S
6
G
5
Posts: 148
Reputation: 5,084

Next

Return to Construct 2 General

Who is online

Users browsing this forum: Arima and 6 guests