분류 전체보기(20)
-
2. 고양이 움직이기(키보드-고급)
고양이 움직이기(초급) 편에서는 고양이 스프라이트를 대각선으로 움직이려고 하면 부자연스럽게 움직이는 문제점이 있었습니다. 고급편에서는 보다 자연스럽게 스프라이트를 움직이는 방법에 대해서 배워보도록 하겠습니다. Step1. "이벤트" 블럭 모음에서 "녹색 깃발 클릭했을 때" 블록을 가져온다. Step2. "제어" 블럭 모음에서 "무한 반복하기" 블록을 추가한다. Step3. "제어" 블럭 모음에서 "만약 (이)라면" 블록을 추가한다. Step4. "감지" 블럭 모음에서 "스페이스 키를 눌렀는가?" 블록을 추가한다. Step5. "만약" 글자 위에서 마우스 오른쪽 클릭 후 복사하기를 실행한다. "복사하기"를 사용하여 아래와 같이 4개의 조건을 만든다. Step6. "스페이스"를 키보드의 4가지 방향키로..
2020.03.02 -
1. 고양이 움직이기(키보드-초급)
Step 1. 처음 만나는 스크래치 화면 Step2. "이벤트" 블록 모음에서 "스페이스 키 눌렀을 때" 블록 4개 추가하기 Step3. "스페이스"를 키보드의 "방향키"로 바꾸기 Step4. "동작" 블럭 모음에 있는 " x좌표를 10만큼 바꾸기"와 "y좌표를 10만큼 바꾸기" 블록을 사용하여 고양이 스프라이트 코딩하기 Step5. "형태" 블럭 모음에서 "다음 모양으로 바꾸기" 사용하기 Step6. 키보드 방향키로 고양이를 움직여보세요.
2020.03.02 -
6. Character animation
Today, we're going to create a floating character animation in space. Step1. Delete cat sprite. Step2. Select a "Letters" category in Select Sprite and add one letter. I'll choose "M" Step3. When you click on the letter sprite, we're going to make it four times, every half second, the letter gets bigger and smaller. Add blocks to change the color of the letters. Step4. I'll make it work the same..
2020.03.02 -
5. Jurassic dinosaur
Today, we're going to make a flying jurassic dinosaur. Step1. Delete cat sprite. Step2. Add a stage background of the Jurassic Period. Step3. Add "Dragon" sprite. When you select an animal from a category, you can find it Step4. Reduce the size of Dragon to 30. Step5. Click on the green flag to go to x:0, y:-120 Step6. Dragon flies above the sky (x:0, y:0) for 1 second. Step7. Dragon is repeated..
2020.03.02 -
4. Let's Dance!
This time, let's make dancing cats and friends. Step1. Rename the cat sprite to "Cat" Step2. Click "Choose a Backdrop" to add a stage background. Step4. Select the "move 10 steps" block from the "Motion" block bar. Step5. Click "Add Extension". Step6. Add "Music." Additional blocks for playing instruments and drums are added. Step7. From the "Music" block collection, select the block "play drum ..
2020.03.01 -
3. The three cats
Once upon a time, there lived three cats. The biggest cat likes to run around excitedly. The second and third cats are busy following the biggest cats around. Step1. Rename the cat sprite to "First" Step2. When you click on the green flag, your cat moves 10 steps in the direction of travel and bounces when it touches the wall. Step3. Your cat(First) changes direction once every two seconds. Step..
2020.02.13