new with C2 : just some questions

  • Hi,

    I want to make an html5 game in responsive mode. So C2 can do that ? when you publish the game , what sort of file have you ? html, Js and Css ? or this is like fusion ? a reader ?

    If a programmer want to modify the game, can he just work on the Js ? or C2 is needeed to modify the game ?

    Thanks for your reply guys !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    I want to make an html5 game in responsive mode. So C2 can do that ? when you publish the game , what sort of file have you ? html, Js and Css ? or this is like fusion ? a reader ?

    If a programmer want to modify the game, can he just work on the Js ? or C2 is needeed to modify the game ?

    Thanks for your reply guys !

    * moved to a more appropriate location

    I am unsure what you mean by 'responsive mode'.

    The free version allows you to export as HTML5, so you can see for yourself the exported file structure.

    The export is usually obfuscated so to modify, you need the original project and a copy of Construct 2.

  • Thanks to your reply.

    So i test a compilation with blaster example. no encapsulation : html + Js +json. So it is good.

    Now, the result in Pc is very good, in android is good but on IOS it is very slow (Safari on IOS 7.1.2).

  • you should really update your IOS to newer versions it will work way faster. not sure though which iphone supports which IOS since i don't have one <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    just found it out:

    http://iossupportmatrix.com/

    it would seem that iphone 4S and newer only support latest IOS, and iphone 4 can have 7.1.2. as latest which has a really slow webview.

  • ok. I will go to IOS 8.

    Now i have many Js that C2 create. For example Blaster, where is the Js of the game please ? i see the c2runtime, a data but no Js game.

    Thanks for your help

  • it seems that the game is on c2runtime. Am i right guys ? and the data.js have all the sprites, sounds. Is it ok with that ?

  • nope. c2runtime is just a "engine file" which is made out of some js files that can be found in html/exporters.

    data.js is a helper file which contains mostly your logic that you made up with events, variables and more.

    together they work as an engine.

    your sounds / images and the rest is contained in other folders on export.

  • Thanks for your response.

    So if i want to work with an external programmer to add some feature to the game i made with C2, how can he work ?

    For example, add the possibility to load a spine squeleton in a frame for a title frame for example, or the possibility to put data to a database.

  • hum... this is just impossible ? like fusion, we must create addon with a sdk ? tell me guys !

  • Yeah you'd create a plugin with the SDK. https://www.scirra.com/manual/15/sdk

  • arg... i had understand that C2 was more open that Fusion for html5. So this is not the case and it is a shame.

    Thanks to all for your great reply !

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