L17: Discrepancy between loop anim in lesson and instant movement in L17.P1
还没有人认领这个 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 内容生成。
描述
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,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
GDQuest/learn-gdscript 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
GDQuest/learn-gdscript#1462 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
GDQuest/learn-gdscript#1455 ·
-
难度 2/5 1-3 小时 新手友好度 66/100
GDQuest/learn-gdscript#1446 ·
-
user experience
难度 2/5 1-3 小时 新手友好度 64/100
GDQuest/learn-gdscript#1420 ·
-
难度 3/5 1-2 天 新手友好度 48/100
GDQuest/learn-gdscript#1461 · 1 条评论 ·
查看 GDQuest/learn-gdscript 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 76/100
-
approved check:passed streams:add
难度 1/5 1 小时以内 新手友好度 72/100
维护者通常 1 天内回复
-
sync-en
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复