EternalStudent's Recent Forum Activity

  • lionz thank you for the response, how would I do the column row storage? Does Construct3 have some native storage or table options to do this?

    Thank you again

  • To be more clear, I am able to get the voice input just fine, but I want to validate whether the input is correct.

    So creating an individual condition for each word sounds like a horrible and inefficient way to do it. Especially since the numbers are being randomly generated.

    what I am asking is, how can I check the input to see if its correct.

    For example, I show the number 1, I get the voice input as "uno". How can I check that this is correct other than hardcoding that 1 = uno? Wouldnt a table or database work for this?

    does that make more sense?

  • Hello all, its wonderful day.

    I am trying to make a simple game as following:

    1.) On start of layout, generate a random number and store it in a global variable

    2.) Show that number and then asked the user to say the number in Spanish

    3.) I want to validate they said the number correctly (WHATS THE BEST WAY TO DO THIS?)

    My thought here was to somehow store all the words which I would use in the game in a table or database of sorts and then check against that value but not sure how to do that.

    I also thought about storing the correct values as global variables but that sounds really inefficient

    4.) Once they get the number correct, generate a new number and repeat (whats the best way to do this?)

    I tried to create a global variable which checked whether the answer was correct but then not sure how to loop or increment in an event driven way.

    I am grateful for the help!!!

    Thank you

  • thank you, I see that as well. Does that mean I need to create a JSON object, add these values and pass that in as the call?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi All,

    I am having some trouble with AJAX calls even after going through the documentation. I am trying take some input, call the Google Translate API and return the translated result. I have a Google Cloud account and a generated API key but do not see where I need to include that or where I can specify headers. Are there any examples of that?

    I am trying to make a POST to the API with information like this:

    Method: POST

    URL: translation.googleapis.com/language/translate/v2

    Headers:

    Name: Content-Type

    Value: application/json

    Data: {"q":"Hola, ¿cómo estás?","source":"es","target":"en","format":"text"}

    When I try to enter "{"q":"Hola, ¿cómo estás?","source":"es","target":"en","format":"text"}" into the "Data" field, it complains about "Syntax Error, expression ends before here at the q" if thats helpful as well

    Can anyone help with this please?

    Thank you

    Tagged:

  • thank you so much!

  • Great morning everyone, its a wonderful day.

    As someone new to creating games, I want to make sure I'm building the correct habits while developing and was hoping there would be a guide/documentation or video covering this.

    For example, while watching some YouTube tutorials, it was suggested to have a separate layout to put your sprites and objects on that would spawn in your main layout. I was just adding my objects out of viewport. Other simple examples would be how to organize your project assets.

    Any help would be appreciated. Thank you

  • just following up, I could not find the exact reason why but I made a work around by inverting the condition and saying if the text box is anything else and not on screen, revert it to another color and not solid! hope it helps someone

  • hi dop2000, what I do is have several boxes off screen and I will say each color as a text and then when I got to them in the game they changed color already.

  • Hello all.

    I am trying to test the basic functionality of the "is on-screen" condition and its not working as expected. Regardless of whether I can see the object or not, it is triggering and I am not sure why.

    I am taking user input via microphone (which works) and then changing that objects color if its on screen as well but it always changes color regardless of whether you can see it or not.

    do the on-screen correlate to the viewport? I tried making that smaller as well but no change.

    Any help is appreciated, thank you

  • bump, anyone have information on this?

  • Hello all, thank you very much for all the support and help.

    I am playing with the speech recognition object and in the documentation it says en (for english) is supported. Is there a list of what other languages we can use and what letters to use to denote them are?

    thank you

EternalStudent's avatar

EternalStudent

Member since 31 Oct, 2019

None one is following EternalStudent yet!

Trophy Case

  • 5-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

7/44
How to earn trophies