| [3356] | 1 | 1
|
|---|
| 2 | 00:00:00,000 --> 00:00:04,000
|
|---|
| 3 | The yellow blocks in ScratchJr are the
|
|---|
| 4 | trigger blocks.
|
|---|
| 5 |
|
|---|
| 6 | 2
|
|---|
| 7 | 00:00:04,011 --> 00:00:07,521
|
|---|
| 8 | You can use them to indicate when a script
|
|---|
| 9 | should run.
|
|---|
| 10 |
|
|---|
| 11 | 3
|
|---|
| 12 | 00:00:08,971 --> 00:00:11,971
|
|---|
| 13 | You can always run a script by tapping on it,
|
|---|
| 14 |
|
|---|
| 15 | 4
|
|---|
| 16 | 00:00:11,971 --> 00:00:14,431
|
|---|
| 17 | but if you select start on green flag,
|
|---|
| 18 |
|
|---|
| 19 | 5
|
|---|
| 20 | 00:00:14,431 --> 00:00:17,201
|
|---|
| 21 | you can also run a script by tapping the green flag
|
|---|
| 22 |
|
|---|
| 23 | 6
|
|---|
| 24 | 00:00:17,201 --> 00:00:19,241
|
|---|
| 25 | at the top of the screen.
|
|---|
| 26 |
|
|---|
| 27 | 7
|
|---|
| 28 | 00:00:19,641 --> 00:00:21,731
|
|---|
| 29 | The green flag at the top of the screen
|
|---|
| 30 |
|
|---|
| 31 | 8
|
|---|
| 32 | 00:00:21,731 --> 00:00:24,961
|
|---|
| 33 | will also reset the characters to their starting positions
|
|---|
| 34 |
|
|---|
| 35 | 9
|
|---|
| 36 | 00:00:24,961 --> 00:00:28,671
|
|---|
| 37 | before running the script, and it will run every script
|
|---|
| 38 |
|
|---|
| 39 | 10
|
|---|
| 40 | 00:00:28,671 --> 00:00:32,981
|
|---|
| 41 | that starts with a green flag for every character,
|
|---|
| 42 |
|
|---|
| 43 | 11
|
|---|
| 44 | 00:00:32,981 --> 00:00:35,051
|
|---|
| 45 | all at the same time.
|
|---|
| 46 |
|
|---|
| 47 | 12
|
|---|
| 48 | 00:00:44,444 --> 00:00:48,264
|
|---|
| 49 | Start on tap will run the attached script
|
|---|
| 50 |
|
|---|
| 51 | 13
|
|---|
| 52 | 00:00:48,264 --> 00:00:51,499
|
|---|
| 53 | when the character is tapped on the screen.
|
|---|
| 54 |
|
|---|
| 55 | 14
|
|---|
| 56 | 00:00:52,356 --> 00:00:54,736
|
|---|
| 57 | Start on bump will run the script
|
|---|
| 58 |
|
|---|
| 59 | 15
|
|---|
| 60 | 00:00:54,736 --> 00:00:57,836
|
|---|
| 61 | when the character is bumped by another
|
|---|
| 62 | character on the screen.
|
|---|
| 63 |
|
|---|
| 64 | 16
|
|---|
| 65 | 00:00:58,606 --> 00:01:00,136
|
|---|
| 66 | You can use this as a way
|
|---|
| 67 |
|
|---|
| 68 | 17
|
|---|
| 69 | 00:01:00,136 --> 00:01:02,276
|
|---|
| 70 | for two characters to interact.
|
|---|
| 71 |
|
|---|
| 72 | 18
|
|---|
| 73 | 00:01:02,867 --> 00:01:05,547
|
|---|
| 74 | Another way for two characters to interact
|
|---|
| 75 |
|
|---|
| 76 | 19
|
|---|
| 77 | 00:01:05,547 --> 00:01:07,867
|
|---|
| 78 | is by using the message block.
|
|---|
| 79 |
|
|---|
| 80 | 20
|
|---|
| 81 | 00:01:07,867 --> 00:01:11,207
|
|---|
| 82 | A character can send a color coded message,
|
|---|
| 83 |
|
|---|
| 84 | 21
|
|---|
| 85 | 00:01:11,207 --> 00:01:14,383
|
|---|
| 86 | which will trigger action for another character.
|
|---|
| 87 |
|
|---|
| 88 | 22
|
|---|
| 89 | 00:01:14,998 --> 00:01:17,858
|
|---|
| 90 | You have 6 colors from which to choose.
|
|---|
| 91 |
|
|---|
| 92 | 23
|
|---|
| 93 | 00:01:17,858 --> 00:01:19,698
|
|---|
| 94 | The color of the message block
|
|---|
| 95 |
|
|---|
| 96 | 24
|
|---|
| 97 | 00:01:19,698 --> 00:01:22,108
|
|---|
| 98 | should match the color of the trigger block.
|
|---|
| 99 |
|
|---|
| 100 | 25
|
|---|
| 101 | 00:01:22,108 --> 00:01:24,978
|
|---|
| 102 | This is useful for programming interactions
|
|---|
| 103 |
|
|---|
| 104 | 26
|
|---|
| 105 | 00:01:24,221 --> 00:01:28,221
|
|---|
| 106 | between multiple characters.
|
|---|