Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+3)

Overall...I'm not happy with this app.
I don't know what I'm doing wrong.  The code and practices presented aren't real code and some things are not defined, presented, nor stated, which for me is just confusing. I can't learn to think how to code if things or logic appear magically.


For example, in the Looping over arrays exercises i was going crazy looking for the error, I hit the solution box, and it turned out that i could write:

for size in rectangle_sizes:

      draw_rectangle(size.x, size.y)

      jump(size.x,0)

In no point at the code was stated what size was,  Is it a variable? Something that Godot just knows because is in one of its libraries or something? The exercises are full of this types of things, places on the code that just use variables or functions that hasn't been defined or I don't know where they come from nor why, and it's hella confusing and frustrating.

(1 edit) (+2)(-1)

I absolutely understand it's easy to forget some parts, and there could be more practices to go more gradually, as well as more user experience features if we had more funding. The app helped many people learn, and we're well aware that it can be improved and how. We've started work on a complete remake from scratch, though the lack of funding for this kind of free and open-source project makes it challenging to achieve.

To answer the specific case of the for loop you mention, I would invite you to re-read the lesson dedicated to for loops, where this is introduced ( https://gdquest.github.io/learn-gdscript/#course/lesson-18-for-loops/lesson.tres ).

When you write a for loop, you define a temporary variable to which the computer will assign individual values from the array. It's something we introduce in the lesson linked above. So when writing for size in rectangle_sizes, the size bit is a variable that we, the developers, create. You could name it however you'd like, for example, for current_rectangle_size in rectangle_sizes. 

In each loop iteration, the loop variable will receive one value extracted from the rectangle_sizes array.