소스 검색

Reverse parenting order of Sprite and AnimationPlayer in tutorial

The docs had a sprite as the child of the player, then *immediately* after
says to not do that. Why mislead the reader at all and not just do it
the better way from the start? There nothing really gained from the
sprite being a child here, not even simplicity.
zacryol 3 년 전
부모
커밋
f2ac9f8ab8
2개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. BIN
      tutorials/animation/img/animation_animation_player_tree.png
  2. 1 1
      tutorials/animation/introduction.rst

BIN
tutorials/animation/img/animation_animation_player_tree.png


+ 1 - 1
tutorials/animation/introduction.rst

@@ -107,7 +107,7 @@ Tutorial: Creating a simple animation
 Scene setup
 ~~~~~~~~~~~
 
-For this tutorial, we'll create an AnimationPlayer node with a sprite node as
+For this tutorial, we'll create a Sprite node with an AnimationPlayer as
 its child. We will animate the sprite to move between two points on the screen.
 
 .. figure:: img/animation_animation_player_tree.png