API Documentation Question and Suggestion

0 favourites
  • 11 posts
From the Asset Store
Integrate Telegram Payments API into your Construct 3 projects for seamless in-app payment processing.
  • Ashley

    I currently have completed my C3 plugin, JsonManager, running on the old run time. I am struggling to get it working on the new run time. My main issue is that I can't seem to find documentation of all of the exposed public api's. Looking through the docs I can't find anything on retigger, getting the current event, etc... I was able to discover some of this in chrome debugger but my call in the new run time fails on the Retrigger method in my loop. With the old runtime for C3, the retrigger method works as expected.

    So my question, finally :), are there spots in the documentation I am missing or example plugins I can look at in the new run time that implement looping ?

    My suggestion is can you guys also create just an api page that has all of the public facing apis listed with links to details on each one.

    Just wanted to throw this out there.

    Also just wanted to throw another comment in here that I really love construct 3 and keep up the great work.

  • Ashley

    Any help on this would be greatly appreciated. I have the construct3 old runtime of my Json Manager working, but I am stuck on the new run time version.

    To complete the C3 on the old run time was only possible by looking at examples of others since I couldn't find any api documentation to help me understand re-triggering in a looping structure that I did implement in my plugin.

    But now moving to the new run time I can't find any api documentation or examples of others that have implemented a looping condition. I tried inspecting the objects in the chrome debugger and calling the methods I thought were correct, but I am getting errors.

    Is there any guidance on this or better yet an example of this being implemented in the new run time ?

  • It's been 3 days and I would really like some direction on how to implement looping in the new runtime. I was able to figure it out looking at examples on the old runtime, but haven't had much luck with the new runtime.

    I also again want to make the suggestion that there should a api reference page where you look up all public apis and brief descriptions on their use.

    Even the old construct 2 sdk documentation doesn't list all of the available methods you need to accomplish tasks.

  • hello which plugin example did you use ? i replace the 'customImporterPlugin' pluginid but not work

    it tell me this

    Reason: Error: help URL must begin with http:// or https:// Error: help URL must begin with http:// or https:// at window.ǃUt.ǃeRE (https://editor.construct.net/r104/main.js:63:492842) at new window.Plugin (https://editor.construct.net/r104/main.js:63:503623) at new window.ǃecs (https://editor.construct.net/r104/main.js:63:509439) at Function.ǃW.ǃgN (https://editor.construct.net/r104/main.js:2:140330) at o.ǃRg (https://editor.construct.net/r104/main.js:74:28522) at Object.n.push.ǃW.ǃIG [as ǃYTK] (https://editor.construct.net/r104/main.js:74:28934) at n (https://editor.construct.net/r104/main.js:2:201477) at t (https://editor.construct.net/r104/main.js:2:201262)

  • The public runtime API documentation is here: https://www.construct.net/make-games/manuals/addon-sdk/runtime-reference

    It's early days though, there's still a lot to add. The runtime has a huge API surface.

  • I can appreciate that, but I am looking for an example of how to implement looping in the new runtime with re-triggering. I have my plugin work well, to the best of my knowledge :), in the old runtime. I would like to make it compatible with the new runtime. If I need to wait, I'll put that task to the side for now.

  • zjc121

    I would need to have you attach the files you modified so I can see what is wrong. How the files map to eachtoher through keys is very important. Also when setting the display text of an item, you have to include tokens for each parameter that you add/remove to the item. If you have 2 parameters, then the display text must have 2 place holders somewhere in the text like {0} {1}.

  • Try Construct 3

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

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

    how to upload file?

  • I can appreciate that, but I am looking for an example of how to implement looping in the new runtime with re-triggering. I have my plugin work well, to the best of my knowledge :), in the old runtime. I would like to make it compatible with the new runtime. If I need to wait, I'll put that task to the side for now.

    I've added a code sample to the manual and added documentation for the relevant classes.

  • Ashley

    Thank you !!!!!

    I will take a look at it a little later. I appreciate you getting back to me and I am really loving Construct 3

  • Ashley

    Just wanted to say thank you. That documentation was awesome and I now have my json manager plugin looping over array items in the new c3 runtime.

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