clemorphy's Recent Forum Activity

  • Any update on this ?

    It seems that it's an old issue.

    It would be great if we could copy / paste values in this field, or just type values.

    Thanx !

  • Yes, the only way is to make a plugin. It should not be difficult if you have any knowledge of Javascript.

    Yes, that's what I thought, the plugin system seems to fit my need, but I would have to spend some time to read the plugin documentation, watch some examples, do some tests etc ...

    I'll definitely look into that, but for now I think I'll go for a less elegant but quicker solution.

    When your loginpage is in HTML and not in C2, why don't you just login first and then open the index.html from c2 (Where you could also check if you're logged in).

    Actually it's a game where you can play the first level without being logged in, and then at the end of this first level, you must log in or create an account to continue.

    [quote:12175317]

    Pass informations from the HTML page to the C2 application -

    From the Some kind of hack, but could be useful.

    Interesting, I could use this to know when I have to do my Ajax request from C2.

  • Try Construct 3

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

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

    I need to call a C2 function in JS from my html page.

    I know this question has already been asked, I went through a few posts about this on the forum.

    But I only found a short clear answer : you should make a plugin.

    Is there really no other way to do this ?

    The opposite (calling a JS function from C2) is really easy with Browser.ExecuteJavascript.

    I need to open a custom html login form from C2, and when logged in, I must send back to C2 that "we're logged in".

    I could make an ajax call in C2 every X seconds to check if we're logged in or not, but for me it's not a proper way to do this.

    If I must use a plugin to communicate from my page to C2, is there any demo / tutorial for this ?

    I don't have too much time to implement this feature so I'm looking for the quickest way.

    I know there are plugins like clay.io but I need to keep all the data in my own DB and I don't want any reference to an external service in my forms.

  • Thank you Guizmus.

    It seems that the "Execute Javascript" action of the "Browser" object is what I need.

    I'm gonna try this.

  • Hi !

    I am quite new to C2. It seems very powerful.

    I have a need that might be unusual. I know there is already a loader embeded in C2.

    I just don't want to show my canvas in my html page until the loading is completely finished.

    Is there an event that can be caught at the end of the loading ?

    Or maybe a way to call a JS function from the html after the loading ?

    Thx.

clemorphy's avatar

clemorphy

Member since 4 Mar, 2014

None one is following clemorphy yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies