rhg1968's Recent Forum Activity

  • 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

  • zjc121

    Found your issue

    This caught me also when I started with my first plugin.

    You did everything right copying the id to the right places, but there is one exception to the rule.

    In the en-US.json file the plugin specified needs to be all in lowercase. This is the only place this is required. Once I did that your plugin loaded up without issue.

    Also I would suggest using a good editor like visual studio code

  • zjc121

    The easiest thing to do is to probably zip up the files and put it on one drive,google drive,etc...

    Than make the folder you put it in accessible and put the link in the forum.

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

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

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

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

  • I just created a dummy project and read that url in using ajax and then populated the array.

    I then used the browser control to disply Array.At(0) and I get 1. So it appears to be working

  • Are you using the ajax control to get the data string first ?

    Once you get the data/string from the ajax call, you load the array with the string you just got.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you see any error messages in the console ?

  • I also created a json manager plugin that is on the add on page that can load a standard json file and then output a portion of it to a c3 array and c3 dictionary.

  • The general format is correct for C3. Everything is specified as 3d array basically. Here are examples

    3d

    {

    "c2array": true,

    "size": [ 2, 3, 4 ],

    "data": [ [ [ 100, 200, 300, 400 ],

    [ 101, 201, 301, 401 ],

    [ 102, 202, 302, 402 ]

    ],

    [

    [ 110, 210, 310, 410 ],

    [ 111, 211, 311, 411 ],

    [ 112, 212, 312, 412 ]

    ]

    ]

    }

    2d & 1d, depending how you look at it

    {

    "c2array": true,

    "size": [ 1, 4, 1 ],

    "data": [ [ [ 1 ],

    [ 2 ],

    [ 3 ],

    [ 4 ]

    ]

    ]

    }

    {

    "c2array": true,

    "size": [ 4, 1, 1 ],

    "data": [ [ [ 1 ]

    ],

    [

    [ 2 ]

    ],

    [

    [ 3 ]

    ],

    [

    [ 4 ]

    ]

    ]

    }

rhg1968's avatar

rhg1968

Early Adopter

Member since 6 Jun, 2014

Twitter
rhg1968 has 9 followers

Trophy Case

  • 12-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

20/44
How to earn trophies

Blogs