grossd's Recent Forum Activity

  • Hello,

    I am trying to use google sheets as backend for storing data.

    Has anyone successfully implemented the oAuth authentication process in C3

    thank you,

    Dan

  • Hi

    Thank you.

    As mentioned in the plugin comments -- its a great plugin indeed, but for my purposes it would need to support reading in json from a string rather than a file only. If you could add this functionality that would be great.

    (or, alternatively, or in addition, to have the plugin submit a user provided ajax call, that expects a json string in return, which is then used to populated the json manager)

    Dan

  • Hello

    I am using an ajax call to access google sheets, to retrieve a range of values (e.g. sheet1!A1:A3)

    The reply format is in json such as follows.

    I want to insert value1 ... value3 into a listbox, but have difficulties accessing the items in the values array.

    How is this done in C2 or C3 ?

    thank you,

    Dan

    {

    "range": "sheet1!A1:A3",

    "majorDimension": "ROWS",

    "values": [ [ "value1" ],

    [ "value2" ],

    [ "value3" ],

    ]

    }

  • Good point ...

    I wouldn't know, since i haven't developed C2 nor C3 plugins.

    But, whoever would do some porting will likely quickly notice to what extent plugins could be automatically ported.

    Dan

  • Hello,

    C3 is awesome. However, its really great with lots of plugins extending its capabilities.

    Philip Deblonde put together a while back a long list of plugins for C2 on git, which would be great to port to C3.

    github.com/Pseudopode/construct2_plugins_behaviors

    Question:

    Could there be enough C2/C3 community members interested in crowd funding the porting of the plugins from C2 to C3?

    Are there plugin developers who would be willing to take on that paid job?

    looking forward to your responses,

    Dan

    p.s. Philip is not available for porting, but is happy to provide (from time to time) guidance

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • <insert dropbox logic>

    Bandwidth hog?

    :-)

    thanks,

    Dan

  • Hi,

    I used to serve game from the public dropbox folder, but now, i only can view the shared index.html file.

    Was this feature disabled by dropbox?

    thank you,

    Dan

  • wow, great ...

    i will study your code carefully,

    thanks!

    dan

  • what i need to be able to do, for example, is loop over each sprite instance of an object type in a family, and add up the current animation frame number.

    In pesudo code this looks like this:

    set global variable v = 0

    for each instance inst of object type in family boxes

    add to v inst.animationFrame

    This code should run everything any of the boxes is touched / tougled

    this would yield a number that indicates if all animation frames are zero -- i.e. white, or at least one red, i.e. the sum is greater than zero.

    But, i don't see a way to do this with family

    the only way i see right now is to hard code the sum using the actual sprite names

  • Also, i am changing the color of the boxes by setting (toggling via modulu %) the AnimationFrame value to 0 or 1 -- the zero frame is white, the one frame is red.

  • Thanks.

    Sorry for the confusion.

    The fourth box should be red, if at least one of the three boxes is red, otherwise it should be white.

    Each of the three boxes toggles through red and white -- each time its touched.

    Dan

  • Hello,

    i have three boxes (sprites) which upon touch change color (from white to red).

    I have a fourth box, which is supposed to change color when at least one of the three boxes is red, otherwise it should be white.

    I am using a family to capture all three boxes (because in the future there could be several more).

    How to i build an event condition for:

    at least one box is colored (i.e. in Animation frame 1)

    none of the boxes in the family are colored (in Animation frame 1).

    I tried to use the system loop, and pick all with a subevent condition, but neither worked. I am doing something wrong here.

    any thoughts would be much apprecited,

    Dan

grossd's avatar

grossd

Member since 4 Feb, 2014

Twitter
grossd has 1 followers

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies