Hello Everyone, I have been using Gotoh to learn how to code. This is because the programming system has a easier import file method then most of the others I have tried.

I am currently trying to learn how to make Pong on Gotoh, using the tutorial: "" (screenshot below).

I have copied the code he had made but it is getting errors (see screenshot below).

I am wondering what is going on and where I can make corrections.

Thank you in advance to whomever helps.

  • Tomcat replied to this.
  • Carmes I am wondering what is going on and where I can make corrections.

    You are missing a ":" at the end of the specified lines.

    Carmes I am wondering what is going on and where I can make corrections.

    You are missing a ":" at the end of the specified lines.

      Thank you for your aid Tomcat, your fix helped out but two more errors showed up.

      line 7 (Expected conditional expression after "if".)

      if: Input.is_action_pressed("ui_up")

      line 9 (Expected conditional expression after "if".)

      if: Input.is_action_pressed("ui_down")

      Why does this code work on the youtubers end without need for conditional expressions and what conditional expressions should I use in this situation?

        Please take a look at his code again

        Carmes Why does this code work on the youtubers

        ":" should be in the end of the string. Note the YouTube screens.

        if Input.is_action_pressed("ui_<…>"):

        youtuber is using 3.2.2 and you're using 4.0.3. They're different.

          Tomcat Thank you for your aid, this has been a unique experience. I will continue the project and hopefully get better at GDscript over time. I will come back here if I have questions. You are an awesome community. 🙂