Creating Android and Iphone app from Construct 2

0 favourites
  • 3 posts
From the Asset Store
Casino? money? who knows? but the target is the same!
  • 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.

  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)