[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:00.00,0:00:05.02,Default,,0000,0000,0000,,Hour of Code Minecraft | Events Dialogue: 0,0:00:05.02,0:00:10.32,Default,,0000,0000,0000,,On this next level, you can pick to \Nbe either Steve or Alex. Dialogue: 0,0:00:10.32,0:00:16.67,Default,,0000,0000,0000,,Press the arrow buttons on your keyboard to\Nmove up, down, left, and right. Dialogue: 0,0:00:16.67,0:00:20.89,Default,,0000,0000,0000,,Now you can move around a level wherever you\Nwant. Dialogue: 0,0:00:20.89,0:00:27.34,Default,,0000,0000,0000,,To use a creature, just walk towards it, turn\Nto face it, and press the spacebar. Dialogue: 0,0:00:27.34,0:00:34.28,Default,,0000,0000,0000,,If you're using a touch screen, swipe up,\Ndown, left, and right to move around. Dialogue: 0,0:00:34.28,0:00:38.83,Default,,0000,0000,0000,,Then tap the game to use the item in front\Nof you. Dialogue: 0,0:00:38.83,0:00:41.10,Default,,0000,0000,0000,,But what happens when you use it? Dialogue: 0,0:00:41.10,0:00:46.85,Default,,0000,0000,0000,,In Minecraft, sheep drop wool when you shear\Nthem, cows run away when you hit them, and Dialogue: 0,0:00:46.85,0:00:51.22,Default,,0000,0000,0000,,creepers explode when you get near them. Dialogue: 0,0:00:51.22,0:00:55.44,Default,,0000,0000,0000,,These reactions happen thanks to something\Ncalled events. Dialogue: 0,0:00:55.44,0:01:00.01,Default,,0000,0000,0000,,Events tell your program to listen or wait\Nfor when something happens. Dialogue: 0,0:01:00.01,0:01:02.86,Default,,0000,0000,0000,,And when it does, perform an action. Dialogue: 0,0:01:02.86,0:01:08.34,Default,,0000,0000,0000,,So far, you've used one event. Code you put\Nin the "when spawned" slot runs when your Dialogue: 0,0:01:08.34,0:01:12.12,Default,,0000,0000,0000,,creature is created or when the game starts. Dialogue: 0,0:01:12.12,0:01:17.78,Default,,0000,0000,0000,,Over the next few levels you'll have new slots\Nfor events such as "when touched" that runs Dialogue: 0,0:01:17.78,0:01:23.06,Default,,0000,0000,0000,,when you touch the creature, or "when used"\Nfor when you use the creature. Dialogue: 0,0:01:23.06,0:01:29.82,Default,,0000,0000,0000,,Or, if you want your zombie to disappear when\Nthe sun comes up, put that in the "when day" slot