Dasat's Forum Posts

  • shes a miss!!

    Dasat

    Glad to help sir

  • no response yet?

    megatronx have you found a way around this?

    Hello,

    Is there a way - is it possible to have nested lists in the list box?

    Thanks!

  • Yann, Thanks a lot, the array illustration made using the plugin very easy and i've been able to implement that in my work. Moving on to the next stage now. Thanks once again.

    Dasat

    is this working for you?

    https://dl.dropboxusercontent.com/u/23551572/C2/plugins/json/demo/arithmeticTables.capx

  • no it doesn't.

    But like i said what i basically want to achieve is to store "2 arrays as a value for a particular key" while i still have another key with just a string. all this values are set as the program is run, not mannually, but it does;t work and i don''t even know how to achieve storing 2 arrays as a value.(reading 2d array as json in construct is not really straighforward)

    I dont also get how to populate arrays using this plugin. I mean when you add a new array and you add values like you do for the object, it just replaces values so, its only one value in the array added

    Dasat

    hmmm

    > but when i set the key or value to a defined variable in my program or content of some array, it doesnt reflect

    >

    Not sure I understand what you are trying to say.

    + System: on start of layout
         Local text myKey = "someKey"
         Local text myValue = "someValue"
         -> JSON: new Object at root@
         -> JSON: set myValue at root@myKey[/code:2s2hevo1]
    Doesn't work for you?
    
  • for me, i want to achieve is, in my json data, to be something like

    {"mykey": "value1:, "mykey2": [2darray]}.

    Here is the cumbersome format i'm getting using construct dict and array

    {"c2dictionary":true,"data":{"name":"Project1","value":"{\"c2array\":true,\"size\":[10,2,1],\"data\":[[[\"cons 1\"],[\"2\"]],[[\"cons 2\"],[\"4\"]],[[\"cons 3\"],[\"5\"]],[[\"cons 4\"],[\"2\"]],[[\"\"],[\"\"]],[[\"\"],[\"\"]],[[\"\"],[\"\"]],[[\"\"],[\"\"]],[[\"\"],[\"\"]],[[\"\"],[\"\"]]]}"}}

    I've been trying out somethings by trying to follow the examples, but when i set the key or value to a defined variable in my program or content of some array, it doesnt reflect, it only reflects when i add some raw string or integer(not a variable with data stored in it). I also fear for the challenge i might encounter when trying to read the data back from my my backend.

    Kindly help. Thanks

    chrismaliszewski

    if you have an Array whose AsJson gives you

    {
        "c2array":true,
        "size":[3,2,2],
        "data":
        [
    >         [ 
    >             [10,32],[12,48]
            ],
            [
    >             [72,26],[80,32]
            ],
            [
    >             [-28,16],[-22,20]
            ]
        ]
    }[/code:f84pylqi]
    What would you want to transform it into?
    
    (or maybe use your own example, mine uses just random numbers)
    
  • Hello house,

    I recently got my paper accepted for publication by ASEE, but it would be great if i'm present there to make the paper presentation with my professor. The project title is "Development of a suite of virtual experiments for physics and chemistry laboratories", these are online laboratories which were all developed with CONSTRUCT 2.

    I would appreciate your support in donating and sharing my gofundme fundraising page.

    You can donate at http://www.gofundme.com/7xwja4.

    Thanks

  • Wastrel, have you been able to work around having a modal window, something like what comes up when you want to view a picture in facebook

  • shirokuma, thanks would check it out and work on it.

    Dasat

    I think the length of the probe lines are not constant. If you place the meter in the lower left you can drag a probe to the upper right (and beyond). The length of the line seems longer to me.

    I think everything in hat Java app looks doable in C2. I think you are going to need to use something like this plugin to accomplish those lines.

    I haven't played around with this plugin too much, but it does have bezier curves, which is what I think you will need for those curved probe lines.

  • shirokuma, Not necessarily those issues, im hoping i can get an effect similar to what they have here http://phet.colorado.edu/sims/circuit-construction-kit/circuit-construction-kit-dc_en.jnlp when i drag my probe around. note that the lenght of the wire is actually constant and the wire just bends a little depending on the path the probe followed

  • Also working on some online laboratories (virtual experiments) using construct 2

  • Here is the probe with the multimeter the movement isn't smooth though https://www.dropbox.com/s/ssc0t7dmc4so4 ... eMod3.capx

  • shirokuma, wow, this was the next challenge i was to start racking my head to fix, thanks a lot, would see, how i can incorporate it to my project and pin it to the actual multimeter image

  • shirokuma thanks a lot, all i was seeing was a collision polygon challenge so i couldn't even think that image point could solve it, thanks a lott

  • I have this probe i want to to use to trigger an event only when the tip of the probe overlaps a line, the probe has a drag and drop behaviour, thus i can't afford restricting the collision polygon to the tip alone, else you have to drag with the tip alone, how can i solve this issue, capx file is attached to illustrate the problem. thanks for the help in advance.https://www.dropbox.com/s/sqp6v8t1nqu3o8l/probe%20challenge.capx

  • Try Construct 3

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

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

    > > Try this:

    > > where is file please, its no longer on dropbox, and i have something like this to work on

    > > R118 List Object

    > >

    >

    Construct2 or classic?

    Construct2 there is a great tutorial example in thetutorial section

    thanks, checking it out right away