ethanpil's Forum Posts

  • What is the practical limitation of DB size? Is there any limit on import/export size?

  • I think a good flow diagram with detailed examples explaining this would be very beneficial in the documentation.

  • I am quite curious by the words "2% of the ad traffic redirected" can you please elaborate on this?

  • Ashley will it be possible to create a common css file

  • Ashley while we are on the topic of "set CSS style" I have been wondering for a while if you could add the ability for external stylesheets? I very often am doing "set CSS style" with the same parameters for many many textboxes. It would be nice to be able to share the same code among all the textboxes for easy updates.

  • Ashley that makes a lot of sense. Thanks for sharing your perspective.

  • Maybe Ashley can provide some guidance? I think it would be a massive improvement for C2...

    Also to note, I just found this plugin which may alleviate some of the issues: Advanced Textbox

    I also found Zebra canvas UI library, CastorGUI library, but I haven't yet been able to decode how their text input box works. rexrainbow Have you seen or tried any of these?

  • As many C2 developers have discovered over the years, the HTML based Textbox has many limitations.

    Per the manual: [quote:qr3iv2cc]"Form controls are actual HTML elements floating above the game canvas in the HTML page. Therefore, nothing can be displayed on top of a form control, apart from other form controls."

    Recently, I have discovered CanvasInput :: [Github]

    If C2 can implement textbox in pure canvas, it will allow us to better create and style interfaces without the crazy limitations and issues I have experienced with the stock textbox.

    The project is under MIT License, which means its no problem to incorporate and distribute with C2.

    What do you think?

  • Looks like an amazing plugin. Do you have an example how to load external JSON/XML from HTTP request and parse?

  • I am playing some audio tracks in response to an event. Would like to play them one after the other, but when I add the 3 audio play actions under the trigger, they all play at once.

    How can I make construct2 wait until the previous audio is complete before playing the next one?

    The only thing I have been able to do is System Wait x Seconds which is the length of the audio file. Is there a better way?

  • Ashley the problem is that many of the web "standards" don't work the same way in a webview app. For whatever reason these APIs are restricted to native and that's one reason that the Cordova solution exists. So are you saying this type of integration will never happen?

    part12studios I think its unreasonable to ask Scirra to create and maintain build platforms. These are complex toolchains that would be time and cost prohibitive.

  • Ashley I dont see Construct2 building out the final apps... outputting APK or IPK. That would be a nightmare on your end and as you said, plenty of services do that already. I think Phone Gap build or other platforms should specialize and be used for that as they do now.

    What I thought we were talking about the while time., and what I am most interested in, is having Cordova core APIs integrated within Construct as platform plugins, to enable devs to better utilize the hardware and common OS features of mobile devices, which is specially what many of the CranberryGame plugins provide.

    Cordova already has a solid and stable release cycle and its easy to target specific versions in a build. This means adding a build target to Construct of a specific PhoneGap/Cordova version. This results in an HTML project output as Construct already does, with the extra Javascript files and an XML config for Cordova.

    By targeting PhoneGap/Cordova for output, Construct would output a complete Cordova project ready for submission to PhoneGap build or self compilation or any other compatible build service.

    If Construct would integrate even a few core mobile functions as built in plugins, it would truly be amazing. Take a look here at the cross platform goodness for Android, Windows and iOS mobile. http://docs.phonegap.com/plugin-apis/

    I am talking about Cordova/PhoneGap's unified cross platform API to do a lot of these things on all platforms with the same code base:

    • Use mobile camera
    • Receive push notifications
    • Access device storage
    • Hardware buttons
    • Geolocation
    • Vibration
    • Dialogs

    I don't think Scirra targeting the core PhoneGap API is any different than targeting the Node API. Its an established ecosystem that is stable and very well documented, supported and versioned. The hardest part would be developing the Construct plugins for the GUI, which is what cranberrygame has done to some extent, and this is what I have been rooting for in this thread.

    If this was implemented, this is how I imagine that it might work in Construct:

    I can insert a new Platform Specific objects into my Construct project, lets say "PhoneGap Vibrate" which activates new actions and events similar to the way the Touch object works. I can then use Construct's system to trigger a vibration.

    Or maybe I can add a PhoneGap Listen Notification object. Then I can add events for On Notification Receive.

    Or maybe I can add a PhoneGap Send Notification object. Then I can add trigger a local notification.

    Or can add an object PhoneGap Camera and then acquire images from front or rear camera similar to the current user media system.

    Or a PhoneGap system plugin can allow me to read battery stats, network state, etc.

    Or a PhoneGap share plugin can allow me to use the mobile OS social/sharing tools

    Then I output from Construct out to my Cordova/PhoneGap target, and I now have a folder with a full HTML5 build with some extra plugins and XML thats ready to go. (Instead of going crazy fiddling with the output and trying to integrate these ourselves after the fact, as we do now before building for mobile).

    Next, since Cordova is basically an industry standard, I can do the final Cordova compile myself with the free tools on my system. Or I can upload the Construct output as is to one of many Cordova compatible build services such as:

    • PhoneGap build (my personal choice since I pay for adobe anyway)
    • Telerik Appbuilder
    • Crosswalk
    • ApplicationCraft build service

    Does this make sense? What do you think? Is there hope?

  • part12studios see here:

    It seems Ashley was only interested in Admob plugin to start, but he and cranberrygame couldn't work it out for whatever reason.

    Ashley only seems opposed to the plugin being written by a 3rd party and included in the base distribution. The question here is a C2->Cordova code base owned and maintained by Scirra, which I think everyone here would prefer and be very motivated for.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • part12studios I saw the thread. Didn't make much sense to me. Cordova output is a huge market for this product.

    Ashley would you care to weigh in on the Kickstarter proposal? What will it take to get Cordova / PhoneGap integrated into Construct2. Can you give us a definitive proposal or plan, or refusal, so we will just know what to expect moving forward?