L17: Discrepancy between loop anim in lesson and instant movement in L17.P1

未关闭
#1,459 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
50/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
godot
领域
content

调研方向

The step-by-step animation lives in the lesson text at res://course/lesson-18-for-loops/lesson.bbcode, and the practice code in the report is the move_to_bottom loop that increments cell.y. Read how the lesson decomposes the loop over time and compare it with how the practice runs the loop instantly. Done means a learner cannot mistake the loop for a delayed, step-by-step process, though the maintainers may need to decide whether the fix is in the lesson animation or the explanation.

由索引模型根据 Issue 内容生成。

描述

content

There's an issue in the lessons that decompose the motion over time to show what the loop is doing step by step, but it's not done well. It leads to thinking that a loop does not apply instantly. This user was then understandably expected their loop in the practice to move the robot step by step with visual pauses.

somehow the robot animation just jump right to the end, my solution are checked fine though

Technical information:

  • Location: L17.P1 - Introduction to For Loops > Using a for loop to move to the end of the board
  • File: res://course/lesson-18-for-loops/lesson.bbcode
  • Platform: Web
  • Commit: 42cfa87

Code from the current practice

var board_size = Vector2(5, 5)
var cell = Vector2(2, 0)

func move_to_bottom():
	for i in (board_size.y - 1):
		cell.y = cell.y + 1
主要语言
GDScript
星标
2.8k
派生
239
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

GDQuest/learn-gdscript 的其他 Issue

查看 GDQuest/learn-gdscript 的全部 Issue

相似的 Issue

更多 Content Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。