1 00:00:00,480 --> 00:00:02,490 in today's tutorial we're going to learn 2 00:00:02,490 --> 00:00:06,300 how to create movement using a sprite 3 00:00:06,960 --> 00:00:09,510 and the online version of scratch as 4 00:00:09,510 --> 00:00:11,100 you can see i have a new 5 00:00:11,100 --> 00:00:14,250 project open i have it titled i 6 00:00:14,250 --> 00:00:16,020 have an empty stage so i'm going 7 00:00:16,020 --> 00:00:18,240 to navigate to this button choose a 8 00:00:18,240 --> 00:00:20,160 sprite i'm going select my sprite 9 00:00:20,760 --> 00:00:22,770 for the purpose of today's exercise i'm 10 00:00:22,770 --> 00:00:25,500 going to select the arrow clean and drag it 11 00:00:25,500 --> 00:00:27,900 into the position that i want so 12 00:00:27,900 --> 00:00:29,640 to create movement we're going to be 13 00:00:29,640 --> 00:00:32,880 using the motion tab and also the 14 00:00:32,880 --> 00:00:35,250 control so let's go ahead and go 15 00:00:35,250 --> 00:00:38,160 here to motion i'm going to need 16 00:00:38,250 --> 00:00:40,320 the move and then i'm gone 17 00:00:40,359 --> 00:00:42,753 to need the turn fifteen degrees and 18 00:00:42,753 --> 00:00:45,480 the turn left fifteen degrees what i 19 00:00:45,480 --> 00:00:47,760 actually want to do is i want 20 00:00:47,760 --> 00:00:50,040 to create a circle with this arrow 21 00:00:50,250 --> 00:00:51,540 and i want it to go from 22 00:00:51,540 --> 00:00:53,550 a small circle to a large circle 23 00:00:53,850 --> 00:00:56,340 so i'm going to need three sets 24 00:00:56,430 --> 00:01:00,411 of everything so i'm going to 25 00:01:00,480 --> 00:01:03,390 also pull over another move and then 26 00:01:03,390 --> 00:01:07,710 another fifteen degrees (this one back) 27 00:01:08,550 --> 00:01:11,310 and then i'm going to pull over 28 00:01:11,340 --> 00:01:15,720 another move and we're going to do 29 00:01:15,840 --> 00:01:17,970 another fifteen degrees the claim of the 30 00:01:17,970 --> 00:01:18,480 survey 31 00:01:19,830 --> 00:01:21,720 next what i need to make this 32 00:01:21,720 --> 00:01:23,100 happen is i'm going to need to 33 00:01:23,100 --> 00:01:24,690 go to control and i'm going to 34 00:01:25,140 --> 00:01:27,210 find the repeat block 35 00:01:33,300 --> 00:01:34,620 let's go ahead and take a look 36 00:01:34,650 --> 00:01:36,000 at what we have right here 37 00:01:39,840 --> 00:01:41,100 so you can see that little bit 38 00:01:41,108 --> 00:01:42,750 emotion that happened when i just clicked 39 00:01:42,750 --> 00:01:45,090 this to get a full-circle we're 40 00:01:45,090 --> 00:01:47,010 going to have to change the number 41 00:01:47,010 --> 00:01:49,260 of repeat and make it higher i'm 42 00:01:49,260 --> 00:01:51,870 going to go with forty and i 43 00:01:51,870 --> 00:01:53,820 actually want the circle to be a 44 00:01:53,820 --> 00:01:56,340 little bit smaller so i'm going to 45 00:01:56,340 --> 00:01:57,360 change the move 46 00:01:57,510 --> 00:02:00,210 from ten steps to five steps and 47 00:02:00,210 --> 00:02:01,380 i'm going to go ahead and keep 48 00:02:01,380 --> 00:02:03,570 us at fifteen now let's take a 49 00:02:03,570 --> 00:02:03,870 look 50 00:02:06,360 --> 00:02:08,759 okay there we go so next what 51 00:02:08,759 --> 00:02:11,009 i'm going to do is i'm going 52 00:02:11,009 --> 00:02:14,550 to pull over another repeat i'm going 53 00:02:14,550 --> 00:02:16,680 to change this repeat to forty as 54 00:02:16,680 --> 00:02:17,100 well 55 00:02:19,110 --> 00:02:21,570 this time i want the steps to 56 00:02:21,570 --> 00:02:23,310 be larger so i want the circle 57 00:02:23,310 --> 00:02:25,680 to start expanding for that i'm going 58 00:02:25,680 --> 00:02:27,300 to change the number of steps to 59 00:02:27,300 --> 00:02:29,040 a higher number i'm going to use 60 00:02:29,040 --> 00:02:32,610 twenty now let's take a look as 61 00:02:32,610 --> 00:02:33,690 you can see now it's going the 62 00:02:33,690 --> 00:02:36,840 opposite direction i'm getting pulled over here 63 00:02:36,870 --> 00:02:37,890 and let's take a look at what 64 00:02:37,890 --> 00:02:38,400 it looks like 65 00:02:38,400 --> 00:02:39,330 like altogether 66 00:02:45,930 --> 00:02:48,690 okay so let's say that i actually 67 00:02:48,690 --> 00:02:51,240 don't want my sprite to change directions 68 00:02:51,510 --> 00:02:53,940 instead of having to remove this block 69 00:02:53,940 --> 00:02:55,650 right here i can just go ahead 70 00:02:55,680 --> 00:02:57,900 and put a negative in front of 71 00:02:57,900 --> 00:03:00,840 fifteen and it will keep it from 72 00:03:00,840 --> 00:03:03,150 going left instead it will turn right 73 00:03:03,480 --> 00:03:04,470 so let's take a look 74 00:03:09,750 --> 00:03:11,400 there we go so from smaller to 75 00:03:11,400 --> 00:03:13,829 larger now i'm going to make 76 00:03:13,829 --> 00:03:16,800 one more option for it to be 77 00:03:16,800 --> 00:03:19,650 even larger again i need may repeat 78 00:03:19,980 --> 00:03:21,210 i'm going to plug that in at 79 00:03:21,210 --> 00:03:21,780 forty 80 00:03:23,040 --> 00:03:25,590 and now i need the steps to 81 00:03:25,590 --> 00:03:27,390 be even wider so i'm going to 82 00:03:27,390 --> 00:03:29,100 change that fifty five and i'm 83 00:03:29,100 --> 00:03:31,680 going to keep that degree the right 84 00:03:31,680 --> 00:03:34,380 degree angle the same now i'm going for 85 00:03:34,380 --> 00:03:37,110 that all appear i'm going to position 86 00:03:37,110 --> 00:03:38,430 my sprite the way that i want 87 00:03:38,430 --> 00:03:40,110 it you can actually click right here 88 00:03:40,110 --> 00:03:42,240 in direction and 89 00:03:42,990 --> 00:03:44,686 and decide what position you want it 90 00:03:44,686 --> 00:03:46,050 if you want to be down or 91 00:03:46,050 --> 00:03:46,740 straight up 92 00:03:48,240 --> 00:03:49,470 so now let's go ahead and play 93 00:03:49,470 --> 00:03:51,000 the sprite from beginning to end 94 00:03:56,400 --> 00:03:57,900 ok and there you have it that 95 00:03:57,900 --> 00:03:58,980 is today's tutorial