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

Lesson 24 ~ Wrong track

Open MachinaHominem opened this issue 2 years ago • 1 comments

Youre asking to "align()" the 1st, 2nd and 3rd track when it is the 1st, 3rd and 4th track. I am on ubuntu, running the app Learn gdscript. Philippe Monteiro. Youre welcome.

#Sample of my code (wich work currently) var tracks = []

func fix_tracks(): align(tracks[-1]) align(tracks[-3]) align(tracks[-4])

#Sample of my code (wich does not work) var tracks = []

func fix_tracks(): align(tracks[-1]) align(tracks[-2]) align(tracks[-3])

MachinaHominem avatar Mar 09 '23 08:03 MachinaHominem

The checks section is referring to the first, second, and third misaligned tracks.

First Track is Well Positioned Second Track is Well Positioned Third Track is Well Positioned

Not the order of the misaligned tracks from the end (the solution).

Hint 2 says:

To align the second chunk, call align(tracks[-3]). ...

duianto avatar Mar 14 '23 18:03 duianto