mchulet's Recent Forum Activity

    Hi,

       Is it possible to play an audio file by passing in URL to the audio file, I could not find this option in the Audio Plugin.

    -Thanks

  • I have similar problem like RedDragon, my data looks like this:

    {"Question": [{"Sentence": "It is over there.","RightWord": "there"},{"Sentence": "Mr. Smith went to Washington.","RightWord": "Mr. Smith"},{"Sentence": "Hi my name is Jake.","RightWord": "hi"},{"Sentence": "We celebrate Christmas.","RightWord": "Christmas"},{"Sentence": "He wanted to climb Mt. Everest.","RightWord": "Mt. Everest"},{"Sentence": "I'm hungry.","RightWord": "I'm"}]}

    But I am not able to iterate through it as I do not know the length. Only way I can think about is to use Hash.AtKeys("Question", i, "Sentence") and loop through i and check for null.

    Do you think there is a better way ?

    -Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks rexrainbow, I am trying it out just now.

    -Thanks

  • How to get name/value pair values from the JSON file, right now it seems to work with only arrays ?

    ex: {"Name": "GoodName","Email": "goodname@goodone.com","ListName": "Lesson 24","PassingGrade": "85"}

    -Thanks

  • ramones sorry I overlooked that you had used Families to combine all Sprites in the project.

    -Thanks

    Mahesh

  • Thanks ramones

    ramones Thanks for the example, but if you look at it this function hideObject gets tied for a specific Sprite object. What I want to do is call hideObject for any Sprite. Also want to void checking in the function which sprite this function has been called on.

    Something like:

    SpriteA -> Call hideFunction(IID)

    SpriteB -> Call hideFunction(IID)

    SpriteC -> Call hideFunction(IID)

    In hideFunction

    Function.Param(0).X = -100;

    Function.Param(0).Y = -100;

    -Thanks

  • ramones would it be possible to provide a sample capx, I am actually confused in making this work in C2 cause I did not find any arbitrary variable setter action.

    -Thanks

  • Thank you

  • Hi,

       I need to make a common function which would set X,Y properties of any object passed to it.

    ex: function hideObject :(Action) Set Function.Param(0).X to -100

                             (Action) Set Function.Param(0).Y to -100

    I am not able to find any way in which I can access & set function param values in actions, I can only see System 0> Set Value of variables not Object.variable ?

    Your help would be highly appreciated...

    -Thanks

  • Thanks

mchulet's avatar

mchulet

Member since 5 Feb, 2013

None one is following mchulet yet!

Trophy Case

  • 11-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies