EternalStudent's Forum Posts

  • thanks for your response. I will definitely check out those resources, I feel like I have the basics down but it wouldnt hurt to go through that material, thanks..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You have default control activated in platforming behavior. That is why both the hero and the dog react to the keyboard.

    In your screenshot you are running the run animation. Then you move the dog one pixel forward in X. Then you wait 0.8seconds and reflect its sprite and move the dog 1 pixel back in X.

    This code cannot make the dog run.

    You don't know too much, you need to take a tutorial on youtube or read the examples from construct3.

    Igor just fyi, I appreciate you taking the time to write but your response is not helpful at all. You are correct about setting the animation, it might not be the ideal way to do it but it does work. You also offer no correct way to do it. I hope you are doing fine in life and try to not take out your issues on others, go within and do the work and be honest with yourself

  • Great morning all,

    Once I provide an input, I want a dog NPC to run to the right for a second and turn around and come back. It sounds simple but nothing is working properly. Its essentially like a patrol but just one loop.

    The trigger for the action is working and the dog will run to the right but once it turn around, it just runs in place for 1+ seconds and then comes back half way. I dont understand what im doing wrong.

    I tried in 2 ways:

    Add platformer to object

    Simulate pressing Right

    On collision with trigger box Simulate left press

    Also the code from the image.

    In general whats the best practice for trying to create a behaviour like this where you want to trigger an action and then have it followed by another? Is this where signals come in?

    thank you again

    Also I noticed if I move my character, it will move the dog NPC in the same direction. Is this somehow related to them both having Platform behaviours?

    Tagged:

  • You can try adding the "On changed" condition for the textbox.

    If you don't need to continue showing the text after validation, just clear the textbox.

    Thank you for the response. I could not actually find the "On changed" condition but I know I have seen it... how do I get to that condition?

    I was able to solve it by after checking if the answer was "Correct", I would generate a new number, set my boolean tracker to true, clear the text box and show a new number.

    I would use a separate conditional to Show the score, add 1 to it and then set the boolean to false and its working :)

  • Hi Fellow Game Devs,

    I am working on a mechanic but its not working as I want.

    I am asking the user to provide voice input, capturing that in a text box, validating its correct and then want to increment the score and move onto the next word.

    I have been able to successfully do everything except increment the score.

    When I validate if the voice input in the text box is correct, I'm comparing its value like

    System | input.text = Dictionary....

    and that works correctly but since its doing this every tick, the Score just runs up non stop. I tried to use a boolean to check whether the input is correct and if its been incremented as well but it will work once but not again.

    How can I solve this issue? I feel like being able to just check once versus every tick could be the key but not sure how to do this with construct.

  • Great morning all,

    I have been working with the Voice Input features for Construct3 and am finding it works pretty well for about 80% of the words when I speak, but some do not get picked up.

    I am using VoiceInput via the Microphone and have set the results to Interim (and I also tested with Final but it didn't work as well). I noticed that sometimes if Isay the words that aren't getting picked up faster, it will sometimes work but I want the troubleshoot how to fix this.

    Any suggestions?

    Thank you again

    Tagged:

  • Hi Tom,

    It worked! I am grateful for your help.

    May I make a suggestion/request as well. As Construct is aimed at users who have less development experience than most, it would helpful if the documentation contained a few more examples of how to implement features. For example, on the AJAX page (https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/ajax) if you had a screenshot or a few lines on how to make the call with a basic example of retrieving data from a page, it could help push users in the right direction, have them make progress and then further explore features/issues once a basic implementation is working.

    Thank you again! Its truly a great product and your work is meaningful and helping others.

  • Great morning all,

    Its a wonderful day.

    I bought the recurring monthly subscription but when I load a sample project, it shows I am using the "Free Edition" and hence have the limitations on it. Is there a way to fix this?

    Thank you again

  • For anyone who finds this thread, I was able to solve my issue by using a "Dictionary" object. I used key-value pairs for the words/phrases and their translations and it worked perfectly

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

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