learn-gdscript icon indicating copy to clipboard operation
learn-gdscript copied to clipboard

Lesson 20 - Excercise 2, right answer with wrong script

Open Gianni-B opened this issue 1 year ago • 0 comments

Hello! I believe I’ve found a bug in the solution for exercise 2 in lesson 20 on strings.

The original solution is:

func run(): combo = ["jab", "jab", "uppercut"] for animation_name in combo: play_animation(animation_name)

However, even with this alternative solution the excercise seems to be correct:

func run(): combo = ["jab", "jab", "uppercut"] for animation_name in combo: play_animation("")

image

  • Operating System: Windows
  • download from the Itch.io App

Gianni-B avatar Aug 05 '24 20:08 Gianni-B