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

Abierto
#1,459 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
50/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
godot
Área
content

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
GDScript
Estrellas
2.8k
Forks
239
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de GDQuest/learn-gdscript

Todos los issues de GDQuest/learn-gdscript

Issues similares

Más issues de Content

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.