Creating Android and Iphone app from Construct 2

Get help using Construct 2

Post » Mon Oct 08, 2012 9:45 am

Hi everyone,

I have been creating some games in Construct 2 and I have to say that I love it!! But I found a big problem (at least in my games).

After creating the game I usually export it to PhoneGap. From PhoneGap I can create the game for different platforms but the result is that the games run very slow (dispite that there are not so many sprite to execute on the game). This is the process I usually follow:

Construct 2 -> PhoneGap -> Android,Iphone,...

I have run the game on an Android mobile phone (2.3) and works "fine". I have also tested the game on an Android BQ Tesla tablet (4.03) and the result is awful, very slow and no responsive.

I'm not sure whether I'm doing right the compiling process or not or if there is another easy way to get them work smoothly, but I would appreciate some help on it. Best regards.

B
3
Posts: 6
Reputation: 312

Post » Mon Oct 08, 2012 1:17 pm

Phone gap is a rather buggy tool. I suggest switching to CocoonJS or Appmobi. I used phonegap for some time but it was very buggy and slow, so I switched it out.

Personally I use CocoonJS as it runs fast on all devices and fits the game to the device's screen.

The only downside to both appMobi and CocoonJS is that there are a few limitations, I can't remember them off the top of my head but one of them is that you can't use web fonts. But you can easily overcome this by using sprite fonts instead.

Edit:

Things not working in CocoonJS:


- The form control plugins Textbox and Button are not supported.
- The AJAX object is not supported.
- The XML object is not supported.
- The Facebook object is not supported.
- The letterbox fullscreen modes are not supported. If they are selected, it will fall back to simple Scale mode instead.
- The Text plugin's 'Set web font' action is not supported.
- The WebStorage plugin's session storage is not available. Use local storage or global variables instead.
- Most features of the Browser object are not supported.


Things not working in appMobi:


- The form control plugins Textbox and Button are not supported.
- The AJAX object is not supported.
- the XML object is not supported.
- The Facebook object is not supported.
- The letterbox fullscreen modes are not supported. If they are selected, it will fall back to simple Scale mode instead.
- The Text plugin's 'Set web font' action is not supported.
- Most features of the Browser object are not supported.


So basically the same things don't work, which is unfortunate. But some of these can be overcome but others such as facebook and AJAX will be just a bit difficult.

Hope this helped. But I do hope that native mobile support is added by Ashley or Tom in the near future.lonehangman2012-10-08 13:21:27
B
18
S
9
G
5
Posts: 77
Reputation: 4,946

Post » Mon Oct 08, 2012 3:15 pm

Hi Lonehangman,

thanks for the info, I really appreciate it. The full screen mode on phonegap was not working properly either.
I will try CocoonJS and appMobi with Construct 2 to check which one is better or gives the best result.

Best regards
B
3
Posts: 6
Reputation: 312


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 20 guests