Placeholder Image

Subtitles section Play video

  • check.

  • Check.

  • 123 Check!

  • Check!

  • How are my sound levels?

  • Let us know in the chats to sound is good for what we on three to everybody Got the volume on Now I've got the mike on Mike.

  • Hot mic gets one on DDE Hello.

  • Good morning.

  • Always my true Forgot how handy.

  • Oh, okay.

  • Hold on, hold on.

  • We've got to see the Yahtzee.

  • Okay, we see the A, uh, that to me.

  • Your host of the coating train at home It is me.

  • Dan Shiffman.

  • Welcome.

  • Good morning.

  • It has been quite a while since I have live Streamed.

  • I think it was about 72 years ago.

  • Or at least it certainly feels like when I was back at work at New York University in a room that had no windows live streaming and doing coach coding tutorial.

  • So much has changed.

  • I have a smile on my face, but I know a lot of people are struggling on have a lot of different kinds of hardships and challenges, and I hope that doing a little live stream this morning can I'm being tapped on the leg.

  • Yes.

  • I was saying meaningful important things to the camera.

  • You can do scratch.

  • That's what we're doing.

  • I'm a very serious person who does very serious, meaningful, important last year.

  • Anyway, what I want to say is I hope that this live stream can bring you a distraction, a little bit of happiness.

  • Maybe you will learn something I should say from the outset that if what you were expecting today was a proper coding tutorial an educational experience, Not that that ever actually happens on the coding train.

  • It really doesn't.

  • But today will be even less so.

  • I'm just gonna have a little fun.

  • Test out the new setup that I have here at home.

  • I've got Operator one.

  • Say hello in the chat operator.

  • One operator, 1 11 years old.

  • E is operating the chat type being hello in there and operator number to wave to me.

  • Hello?

  • Operator number two is, um let's take a look at this.

  • What you got on your screen?

  • They're operating number two.

  • No.

  • What?

  • Like you're right.

  • You have scratch open.

  • Yeah.

  • Okay.

  • Uh, this is Oh, there it is.

  • Operators number to scratch Project eight years old.

  • So we will be looking at operator number two's ups.

  • That's the wrong button, which is fine.

  • I'm gonna talk about this in a second.

  • We will be looking at Operator number two's a scratch project in a little bit.

  • I All right, So I'm not worried.

  • You know, I've never organized with this stuff, but I should have released, had myself a little outline or a little script, which I do not.

  • But this is the plan for today.

  • First, I want to talk about that.

  • This live stream is a fundraiser.

  • It is a fund raiser for the coating that cuff start coating Cove in 19 Solitary Response Fund for who this is fund raiser is being operated out of Google and YouTube itself.

  • There should be a donate button that you can see the live stream page that you're looking at.

  • You could make a donation.

  • Let me just read to you what this fundraiser is.

  • We're all affected by the growing cove, it 19 pandemic.

  • It's an unprecedented health challenging.

  • You know, people in organizations everywhere want to help.

  • The World Health Organization is leading and coordinating the global effort, supporting countries to prevent, detect and respond to the pan Tan de Mick, the greatest need right now is to help ensure all countries are prepared, especially those with the weakest health systems.

  • Donation support who's who work to track and understand the spread of the virus to ensure patients get the care they need and frontline workers get essential supplies and information, and to accelerate efforts to develop vaccines, tests and treatments.

  • So I know there are a lot of good causes and organizations, and there's a lot of people and organizations in need right now.

  • Theis, since this is sort of officially vetted through YouTube and they're actually I should know this.

  • But I believe Google is matching a certain number of certain.

  • I think every $2 for every $1 you donate tone cobia looked it up in advance.

  • But there is a match by Google and YouTube again.

  • This is not an official.

  • This is just me.

  • At home in Brooklyn, New York live streaming was equipment that I threw together.

  • So I'm not an official representative of this fundraiser of who of Google of YouTube.

  • Any of that.

  • I'm just participating as a citizen of the world.

  • Um, okay, so and keep it friendly in the chat.

  • This is This is the coded train for kids, Okay?

  • I mean, I always try to be a family friendly show, but here we are.

  • Hello?

  • All right.

  • Do you want to announce the Q and A.

  • So let me first mention that there is a coding train discord.

  • So I'm just gonna press my little button here, which should post a link to the discord in the chat.

  • If you're If you wantto engaged with the coding train community in various ways joined the discord I will be doing.

  • I've got some new technology where I could take calls and I'm gonna do like a Q and a live call in kind of, like, show like thing with people in the discord at some point next week.

  • I don't know when yet.

  • So join the discord.

  • If you want an announcement for that.

  • Um, let's see, uh, what else do I want to talk about?

  • So that waas I'm talking about this as a fund raiser.

  • What am I forgetting Anything, operator One or operate number two.

  • You're just working there over unscratched.

  • Operator number two.

  • Not even paying attention.

  • Uh, so let me talk about scratch for a second.

  • I am going to switch over to here.

  • Um, you know, we should find one of the cats.

  • Well, im IPs.

  • Okay, Operator number one is off to find a cat's.

  • You guys don't have to whisper.

  • I'm very confused, by the way, what's appropriate in terms of having kids on a live stream?

  • So this this is not a monetized livestream.

  • There is a chat going.

  • My kids really wanted to participate.

  • I'd love to have them participate and do lots of fun things with them.

  • But anyway, I'm also all conscientious about their privacy, So I'm trying to figure out what is appropriate.

  • But they might say hello.

  • Their faces, my pop up.

  • I think we will all survive.

  • What?

  • What can I show you here?

  • On this, by the way, operator number two.

  • Oh, here we go.

  • We've got we've got cat number one.

  • Okay, that's operator number one's head going by.

  • Let's see, Let's switch to the full view.

  • Uh, here we go.

  • Okay.

  • So this is Greta.

  • Greta is was born.

  • When was great aboard July.

  • So how old was born in July?

  • It seems like that seems like a 1,000,000,000 years ago, but Greta was born Thio a rescued cat.

  • Why one of my colleagues at N Y.

  • U rescued the mother will.

  • Some other name You don't remember?

  • Remember the mother's name?

  • Mama Cat.

  • And we read it.

  • And so we adopted two of the kittens born to Mama Cat, Greta and the other.

  • The other cat is Evie.

  • And you can follow them on instinct.

  • Uh, instagram dot com slash mango and goose.

  • So, uh, yeah.

  • Uh What?

  • Oh, I was gonna put her on my shoulder, but I don't think she likes that.

  • Um, okay, you're half credit back.

  • Some e V will come at some point.

  • Operator number two would like a cat.

  • We have two cats.

  • That's why you have to.

  • Personally, it's nice to have to because they have each other.

  • You know, I would say one of the the the living beings of the world that are happiest with this crisis global crisis.

  • And I don't mean to trivialize it or make light of it, but are the pets of the world because everybody's at home with their pets all the time.

  • I did it Confirm my email.

  • Uh, let's see.

  • Oh, no, I'm not.

  • I'm not sure you that screamer.

  • Okay, you know what we really need to do.

  • Kids, kids, kids.

  • It's story time.

  • It's story time on the coating train.

  • Time for me to read you a bedtime story.

  • Even though it's morning.

  • And I know you just woke up, You just wake up.

  • It's time to read a story.

  • Listen, you're paying attention.

  • I don't like distracted when I read.

  • By the way, I have read the entire book out loud.

  • Now, I mean, actually operated number one has read all the books like times just once or d'oh way.

  • Get through all of those.

  • I've been looking for your suggestions.

  • Mango induced middle name.

  • Thank you for answering, operator.

  • Not the best, Chapman.

  • Thank you to all of you.

  • Nice, wonderful volunteer moderators who always say operator number one.

  • I wonder what that one over to e, I guess Because birth order is that appropriate?

  • Your equal in my hearts.

  • You know, you're you're both operator one operator of 1.5 and outrage for one.

  • Yes.

  • Okay.

  • Uh, tooth.

  • So I was reading your bedtime story.

  • Uh, Okay.

  • Um let's see.

  • So let me talk about scratch for a second.

  • So one thing that I want to say I would I'm gonna return to Let me let me find this playlist here just to give you people a little bit of update about what's going on in terms of the coating train.

  • And, um, that sort of stuff Let me get to here and yes, and being tapped, they should be zero.

  • Where's my bell?

  • That is such a good point.

  • I apologize to everyone in the world right now that I have offended with my counting from one.

  • We have a big announcement to make.

  • I present to you, operator number.

  • I know that I present to you Theo Berry computer.

  • Not good.

  • Okay, we're gonna Can we look at it soon?

  • No.

  • Okay.

  • All right.

  • What I wanted to update you on is my progress with the nature of code playlist.

  • This is was my before the world changed so radically.

  • This was what I was working on.

  • So this is I wouldn't say advanced level.

  • But this is sort of like a follow up playlist, too.

  • For tutorials about how to program in p five gs.

  • Actually, what I should find you is this one.

  • Let me go to you.

  • So for those of you who might be new to the coding train, usually the stuff that I programmed in is in either Java using a programming environment called processing, which I could go on and on about.

  • But I'm going to stop myself from doing that right now, or P five gs, which is a Java script library.

  • And if you go to learning, I have to go to big.

  • If you're new and you go to beginners, you can find the two playlists here for if you never programmed before Andi, I would say, probably especially for all the kids at home.

  • This playlist, I would say, is probably appropriate for maybe six grade on.

  • You know, there are younger people and older people who do program in Java script.

  • But if p five, But I would say that the prerequisites are really being sort of comfortable typing suit kind of all you need, but that so if you've never programmed in jobs before, this is a playlist that you can that you can follow, then is that the state?

  • That's the same cat.

  • Okay.

  • Uh huh.

  • Then we have a whole lot of other so I want to mention this because a couple people have asked me Oh, I want to do some coding while I'm at home.

  • Um, where's your playlist to start with.

  • This is this is the one toe look at now.

  • The one that I'm currently working on on the website is under learning slash nature of code.

  • Um, and so this is a yes.

  • What?

  • You need help with your scratch project?

  • Yeah.

  • Okay.

  • We're gonna get to that next operator.

  • Number one needs help.

  • We've got right now, like over 500 people watching this right now who maybe can help.

  • Operator number one.

  • Of course.

  • Operator zero can Probably careful with those buttons.

  • They change the view of what people are looking at, which is fine.

  • Um, so But I put this a little bit on pause These I was recording in a studio I had set up N y u to school, the arts, downtown Brooklyn, where I also teach classes at a program called T P.

  • And I am a on guy.

  • But I'm gonna see if I can get this studio working well and get comfortable with it.

  • So I could continue this.

  • Siri's, um But in the meantime, today is really just a test run.

  • A way of saying hello and hopefully providing some comfort or support to people if I can.

  • And then, uh, what I will what we're gonna do now is I've actually so let me talk about scratch for us.

  • So if you're not familiar with scratch, scratch is what would How would you define scratch, Operator?

  • Zero block coating.

  • Okay.

  • What is blocked?

  • Coating mean?

  • Put the box today you write.

  • So it's blocked based coating.

  • Meaning you coating is writing instructions for a computer to follow.

  • Wait, anonymous.

  • You can't foundation.

  • My silly show music for donations is not appropriate.

  • Uh, okay.

  • What's going on?

  • You really need help.

  • I have happen to do a thing where I talk all the time.

  • We just go to your project right now and help you.

  • All right?

  • I'm sorry, everybody.

  • I have to go where the wind takes me.

  • Um, we're gonna see if we can go over here and get operator number one's a screen up.

  • Okay, this is operator number one screen, also known as Rotten Kitty to a one.

  • I'll let you try to guess So this is the scratch project.

  • What is the scratch project?

  • Trying to make.

  • What's that?

  • Which book quiz?

  • Okay, operator number one is working on a quiz.

  • Which bow tie is different.

  • So how I wonder if I should get a camera view here?

  • Oh, whoa.

  • Hey, that looks You're like web.

  • So what do you have?

  • So you want to come over here so people can hear you?

  • No.

  • Do you want to just talk to me and I'll say things into the mic?

  • Okay.

  • Um so tell me what you have so far.

  • What's that?

  • Oh, you could barely hear me over that music.

  • Sorry.

  • So I need to turn the music down.

  • That's very easy for me to do.

  • Um, all right.

  • So it looks like what we have here is a quiz that's called which bow tie is different.

  • And I'm not operating computer right now.

  • Different is spelled wrong.

  • That's okay.

  • And so the idea, I think, is that the user the player of the game, Maybe I should just put my camera on over here.

  • I'm gonna show you how to operate this.

  • Okay, so I'm gonna do so.

  • I'm just doing a little bit of we're gonna do a video capture device.

  • You add existing, um l got a camera.

  • So if I do this now, we've got the camera.

  • I'm gonna make this nice and small where he thinks a good spot for it.

  • I do think it's better over here.

  • Let's just leave it over here.

  • So we've got put it up there.

  • No, I think that's gonna But we can also one thing you could do you see this year if you want to like, if it's in the way, you can just click that and we'll take it away.

  • Okay, So you're operating this.

  • You can just click that.

  • See that I teaching a little bit of O.

  • B.

  • S Okay.

  • Yeah.

  • So I need to know your question.

  • You want me to come over there?

  • All right, everybody, I'll be right back on.

  • The computer is very far away.

  • I'm gonna walk all the way over there.

  • Oh, my goodness.

  • It's such a long journey.

  • I'm taking you still here.

  • Okay, So which boat ties?

  • Which was that?

  • So get so it works.

  • What's wrong?

  • Okay.

  • When you click on the wrong, you want the other to disappear.

  • When you click on the We have so confused.

  • Let's look at Yeah, well, I don't think anybody can hear me over here, so it's ironic because, uh oops.

  • Um, the, um maybe we're getting some, uh, so usually I have a roaming mike, but right now, this is my mike.

  • We've got another cat.

  • We're gonna help.

  • We're gonna help.

  • This is by the way, this is TV.

  • I'm coming.

  • I'm coming here.

  • Take evey.

  • You could shoot.

  • We're gonna go back to the scratch window.

  • I just want I feel like people need to be able to hear us over here, so I have a couple ideas for that.

  • Um, let let's see your people in here.

  • You know, you can still hear me.

  • I'm sitting over here a little bit pretty far away, but operators Europe here.

  • So what?

  • They can hear you.

  • Just not operator one.

  • That's what.

  • So what's the issue?

  • Which one did you click on to disappear?

  • Okay, so we now understand that, Rob.

  • What?

  • You know the solution.

  • Okay, so operator number.

  • Okay, hold on.

  • Let's make sure we see.

  • Okay, So let's bring the camera back.

  • Okay?

  • So the question issue is here.

  • We're looking at the centre bowtie and when you click on the center bow tie the backdrop changes which makes the yea appear.

  • You can go over operator zero.

  • And so operator zero is going to help right now.

  • Um and I wonder if I can see the zoom meeting here Now I can't, um, on dso the solution, it seems I would assume is that right now the code says when this sprite is by the way over here, because this is really where I could see when the sprite is clicked.

  • Um, when this spread is click Oh, what's the message broadcast?

  • Hi.

  • Oh, you're gonna broadcast a message and then the other sprites can hear the message broadcast message in hot Oh, Kenzo in the chat Is Kenzo in the chat is giving the same suggestion that operator number zero is actually implementing right now where there's I didn't notice.

  • So apparently there's a way in scratch where you can broadcast a message.

  • You go back Thio, see where their coding this where you can broadcast a message.

  • Boy, I'm really, uh And then I suppose other sprites can hear that message and then ah, hide themselves.

  • So can you pull up the project on the main laptop?

  • Oh, that's a good idea.

  • So if I go to, um, if I go to the project U r l on my laptop, I don't know if it's shared.

  • Um, I'm doing that right now.

  • Projects slash.

  • This is a really good way of doing it.

  • 379 uh, 971380 Does that work?

  • Hoops are scratched.

  • Server is this is what I got.

  • Our scratch server is scratching its head.

  • Uh, so so far, I think maybe that either I got the number wrong for 379 Can you read that number to me?

  • Operator zero.

  • I need more numbers.

  • 713 There's no zero after they Oh, slash Editor.

  • Did you get it to work?

  • Oh, wait.

  • So let's watch it.

  • Can you?

  • Can you share the project so that I can pull it up?

  • Do you know how to do that?

  • Let's show.

  • We'll see.

  • Okay.

  • I'm going.

  • Oh, you're singing right now.

  • So this is, um All right.

  • So what?

  • Right now this is a quiz up scratch project share.

  • They're seven seas and quiz.

  • Yeah, Kit in the chat is pointing out that they could just log in tow.

  • I don't want a log.

  • I don't actually know Rotten kitty to one's password.

  • I bet you I could guess it.

  • I do know it.

  • Okay.

  • Apparently, I do know S O.

  • Okay, quiz.

  • So now if I hit Refresh.

  • So I've got the project also now on my laptop so I can manipulate it.

  • Um, And I think what I'll do also is do this just so, uh, it's put.

  • Put it here and do this.

  • Okay?

  • So first, let's just enjoy this.

  • I'm gonna I'm gonna play it.

  • What?

  • Why is it where I brought it up on my screen?

  • Well, I can.

  • On your screen.

  • I can pull it up.

  • Oh, yeah?

  • Why is it so?

  • Do you have something when you click?

  • Maybe.

  • Did you save it?

  • Make sure you save it.

  • Yeah.

  • I think maybe it wasn't saved.

  • And then nominee If I hit.

  • Refresh.

  • Yes.

  • Okay, great.

  • I've got it.

  • So if I go back to my screen all right, I hereby present to you rotten Kitty's Which bowtie is different.

  • So rotten kid.

  • You want to come stand over here?

  • um So give me some, uh, give me some strength.

  • So I now need to guess which bowtie is different.

  • Do we think it iss the left one?

  • The right one or the center one.

  • Which one should I pick with?

  • All right, let's pick this one.

  • I should feel like that.

  • You do wrong 1st 0 it's over.

  • Okay.

  • Which bow tie is different.

  • You want it?

  • You want to operate?

  • Oh, okay.

  • This is good.

  • We'll be here.

  • Which bow tie is different.

  • You want to do it?

  • Oh, no.

  • Can you get another chance?

  • You should make a play.

  • That sound all right.

  • Can you?

  • What happens if you click the right one now?

  • Nothing.

  • What if you click the center one, huh?

  • So we need to add code, right?

  • If I look at sea inside, so I don't really know.

  • Scratch.

  • So where um So, basically, if we look at these bow ties you want you want operated here, Okay.

  • Ah, hold on.

  • I think after refresh.

  • Because I made this.

  • You should just log into your account.

  • So you have it here?

  • No.

  • Okay.

  • I've lost control of this live stream, which is good when the spray is clicked, which spread I and were in which one?

  • The right or the left?

  • Uh, and then sew and sew.

  • It does that.

  • Okay, so then we have.

  • So that's the right bow tie.

  • This is the left bow tie.

  • Is it?

  • When the spread is clicked, do that.

  • And then which one?

  • This is the center one.

  • When this sprite is clicked, Switch costume to bow tie too.

  • So where the costumes were there and so you have owned both tied to is a chap Mark, Did you draw that yourself?

  • What?

  • How'd you get the bow tie image?

  • It's a spirit.

  • It's a spread.

  • I know, but like, it's one of the scratch built in once.

  • A scratch has, um, has built in one's.

  • Okay.

  • And then so now And so if you click on this one, it's which is that?

  • And then how it wait a second goes to Yea.

  • So let me look at that.

  • I want to see that code.

  • Yeah.

  • Wait.

  • 0.5 seconds.

  • Hi.

  • And no broadcast.

  • Backed up.

  • Three is yet And you drew that backed up through yourself.

  • Amazing.

  • I love that.

  • Wow, This is cool.

  • I should learn more of this.

  • So I actually, um I'm saying, like, I don't know, scratch, but I do know it a little bit.

  • A long, long time ago, I helped a little bit in scratch on the scratch project itself.

  • Um, and I think I don't know if they still have this feature that I implemented.

  • I mean, I'm sure it's not my implementation anymore, because this was almost 20 years ago, but, um, 15 years ago, I guess there was, like, a way to do, like, a twirly image processing filter.

  • Have you seen that anywhere?

  • No.

  • Looks, maybe.

  • Yeah, that whole book has a 1,000,000 random numbers in it.

  • Would you like to show it a little bit under the camera over there?

  • Anyone?

  • What I thought would we would do was that I was going to make a scratch project myself.

  • Um, my stuff.

  • And I thought we could make a thank you card a scratch.

  • Thank you.

  • Card for essential workers and first responders.

  • So if what you wanted to do was draw some like a thank you or draw some things there, we could we could bring those into stretch.

  • All right, so I'm gonna attempt to learn a little scratch with my helpers here.

  • Whirlpool effect?

  • Yes, says Cheon new.

  • It's very warm in here.

  • What does it happen?

  • Wise it that Do you think it's warm in here?

  • That's what I was gonna maybe green screen myself.

  • But I'm wearing his green shirt, so that's not okay.

  • So, um, should open a window.

  • I feel like kind of warm in here now.

  • No, there's a cat.

  • Is that a cat?

  • Yes.

  • The cat is attacking some paper towels under the table here.

  • Okay, so we're getting all right.

  • So what I'm going to do now is I'm going to go to this project, see inside.

  • And what's the first thing that I should do?

  • Like if we want it.

  • So you're drawing like a thank you.

  • So I'll take a snapshot of that, um, and added into scratch.

  • Yeah.

  • No, no, I'm waiting.

  • So I'm looking at my looking at my phone, which is always what you should be doing when you're live streaming.

  • I think I might need some water.

  • Hey, any operators want to get me a cup of water?

  • Yeah, Let's see.

  • I'm gonna let you guys draw for a little bit.

  • Are you actually getting me a cup of water?

  • Makes it okay.

  • Kids will not do this if I'm not live streaming.

  • So I think, Oh, tick tack toe and scratch.

  • That would be fun.

  • But so one of the things you know, I don't wantto I don't want to over sell the meaningfulness of this, but I think it's a nice gesture that we can do two things.

  • One of things that I think about when I had take my little quick trips to the grocery store or take my quick walk around the block to get a little bit of fresh air is I see that sanitation workers air out restaurant delivery people are out.

  • Ups is out a ll the health care workers air out.

  • What is that?

  • Why is it all cloudy?

  • Maybe you should let it run a little longer.

  • I've never know.

  • Seeing the support, I think it just has, Like a There's probably one of the chat will explain the science behind.

  • Why?

  • My water from our New York City Tap water, which is excellent, is a little bit cloudy.

  • Um, but, um, so, um, I I thought that we could make a little thank you to all those health care essential workers that on first responders that are out.

  • So?

  • So, Hold on.

  • I think I have an idea.

  • Wait, Stop, Stop, Stop!

  • Pause.

  • Your drawing.

  • Pause.

  • Your drawing.

  • Is it a thing and scratch.

  • Pause!

  • Pause, Pause.

  • Pause.

  • Trying already.

  • Stop.

  • Quick, Quick stops at Paul's.

  • Okay?

  • Is it?

  • If it's a thing right where you can have two different backdrops.

  • Are you listening to me?

  • So if I took a snapshot of what you're drawing now, stop drawing.

  • Stop drawing.

  • Listen, if I take a snapshot of it now, then I could make that a backdrop that you could add a lot of things.

  • I'll take another snapshot, and then we'll we'll have a break.

  • Is that a good idea?

  • No.

  • Oh, so I should just let you keep drawing, okay?

  • Never mind people.

  • So one thing I let's see if I could figure out what I need to get a sprite.

  • So how do I even import a file?

  • So how do I get How do I get the image from that camera onto this laptop?

  • Oh, I know.

  • I'll take a picture with my phone.

  • Okay.

  • hold on.

  • I know, but I just This isn't gonna be the final photo.

  • It's just up to take a picture of it so that I could learn how to bring it into scratch.

  • But then I'll take a new picture when it's finished.

  • You got me?

  • No.

  • All right.

  • Okay.

  • I'm doing it.

  • Okay, so let me air drop this.

  • Let's see if that works.

  • Yep.

  • Okay.

  • So if I have a photo that I took in downloads, which is right here, um and I were to Let's just crop this much out of it.

  • And now, if I save this, I assume how do I bring up a photo into scratch?

  • You go in some way.

  • Okay.

  • Did you get bored?

  • He lost operator number zero, by the way.

  • Um, okay, so what?

  • He needs a break.

  • We aren't good.

  • Yeah.

  • Take a break.

  • Um, choose a sprite, upload sprite?

  • Or is that is this kind of sprite be a backdrop or that something different?

  • No.

  • So if I wanted to be the background, then I want to make those little hearts a um Let's go to costumes.

  • Okay.

  • That shot is telling me to go to costumes costumes.

  • Oh, so make a new costume.

  • Lips.

  • Okay, back, uh, upload costume.

  • So I'm gonna get this image.

  • Okay.

  • You're I know you're not done.

  • I'm learning just learning while you're Oh, wait, hold on.

  • So people can't see this.

  • So let me just switch to this for a second, so pair.

  • Okay, so apparently, by the way, this is not a scratch tutorial in case because I don't actually know scratch.

  • I'm learning scratch.

  • And my kids who do know scratch are on some level teaching it to me.

  • So what I've learned now is that I can upload an image to a thing called a costume.

  • And let's call this.

  • Thank you.

  • And I could add things to it.

  • I see.

  • Convert to vector.

  • Interesting.

  • Well, um, and then, um, click on backdrops in the stage.

  • So where's the stage?

  • Where's the stage stage?

  • Oh, here.

  • Ah, backdrop.

  • Oh, I see.

  • Okay, that's a backdrop.

  • Okay, so it's kind of like a background in p five, so upload backdrop.

  • So let's do that.

  • That's I got it.

  • This is a backdrop, and we're to call this Thank you won.

  • So now when I go to code and I could just, uh do, um when there's a thing that the program starts when you clean when you click the green flag.

  • Right.

  • So where in which, um, where's that events?

  • Okay, I'm being told breaking news, breaking news.

  • I'm being told that turned the notifications off.

  • Watch here.

  • I'm being told that I confined in events when flag clicked.

  • So put that here.

  • And then where do I switch the backdrop?

  • Looks okay.

  • Switch backdrop two.

  • Thank you.

  • Want.

  • Okay.

  • So now whenever I click, I will get that to Michael.

  • Now, am I not in the code for a sprite right now?

  • So one of the things that I think is different about working and scratch them feeling like P five is that basically each element can have its own code associated with it, and this is quite similar.

  • So what I do in Java script with object oriented programming will make a class that's a template for making objects.

  • And those objects will have their own variables and functions.

  • And that kind of like it looks like I can have multiple sprites which all have their own functionality.

  • But here I think I must not be in a particular sprites code.

  • Right?

  • I'm gonna delete this, right?

  • This is just like the main program.

  • So I could also, like, play a sound pop.

  • Let's try this.

  • Okay, Fun.

  • So and so what I could do is what you do next.

  • So I've got I've got to get the thank you backdrop when it's ready.

  • Um And then I could make some sprites I can play.

  • Sounds change the pitch.

  • Should I try?

  • But I'm trying making a little, like firework or a little heart.

  • I hear noise is the cat.

  • Hold on, Everybody got to rescue the cat from under the table.

  • People, you can't have this twist time The cat.

  • Let me just see if I could show this to you.

  • The cat had this in its mouth, which was a twist tie I had for one of my cables here and that seems very dangerous.

  • We don't want any cats to have to go to the hospital.

  • We don't want anyone to have to go to the hospital, but especially now we don't want to take care.

  • We want to take up spots.

  • That could be that somebody really needs.

  • So let's be careful How's the drawing going?

  • Let's take a look at it, everybody.

  • Let's move it to be un Begin what we all think.

  • Here we go.

  • This is beautiful stars.

  • Tell me what you think.

  • You might be done with it and we'll make it the backdrop.

  • Add these blocks when flag clicked, then change Backdrop to background one.

  • Okay.

  • Um okay.

  • By the way, my water quoting train, as you know, is sponsored by H 20 It's gives to not be cloudy anymore.

  • I think I will just drink it.

  • We might be time for a break, actually.

  • Um okay.

  • Okay.

  • You're still working on it.

  • Okay, The drawing is not finished yet.

  • We can check in on it.

  • I will bring it up here.

  • Um okay, let's see.

  • Anybody have Usually I have a bit more sense, especially Don't ever have any sense as to what's happening.

  • You're going on.

  • But here I am.

  • Um, here I am live streaming from home.

  • The drawing is really coming along nicely.

  • So I need some suggestions of what else I could add to this car digital card.

  • Because one thing is, course we could just make a drawing, which is what's happening right now.

  • Um, but I want to add some other things.

  • So maybe I just need to learn for me when I'm programming.

  • One of the things that I like to start with is how to program a bouncing ball.

  • So maybe that's what I will start adding to this sketch and sort of figure out.

  • And operator number one over here will help me if I need.

  • So let me go back to, um here.

  • So let me add a sprite.

  • So I'm gonna call this sprite.

  • Um, so I need to make a new sprite.

  • Let's make it about Should I make it a basketball?

  • You wanna pick?

  • Oh, I like this beach ball.

  • What should I add?

  • Animals, people.

  • I could make it a little p five.

  • Well, just let's just let me not worry about me making this beach ball looks fun.

  • So now I will need in order to have this move, I need some variables, right?

  • Where do I get variables?

  • Do you know?

  • Do you know operator number one?

  • What a variable is no shrug, Emoji.

  • Three human version of the shrug.

  • Emoji.

  • All right, let me Let's see under here they're variables.

  • Make a variable.

  • Let's make a variable called X for this sprite only.

  • Okay, let's make a variable called Why?

  • For this sprite only.

  • And then let's set the variable to Can I get the width of the Can I get the with of the canvas in?

  • Um, like I'm being told, I don't need variables because the Sprite itself probably has a position, so All right, so maybe I don't need these variables because there's something called, like motion.

  • Maybe.

  • How do I move something motion.

  • Move.

  • Go to X o set X two glide.

  • No.

  • So, you know, if you heard that, but go to makes it just disappear and go there and lied.

  • Makes it glide there.

  • All right, so Oh, there's go to random position.

  • I don't want to make fireworks.

  • Let's see if we can make this beach ball, um, be like a little firework that rises up in bursts.

  • Um, so let's have it glide.

  • Okay.

  • Great.

  • So when so I should go to when the thing he has clicked.

  • What is called the green flag.

  • Motion glide.

  • Uh, wow.

  • So I don't I don't have to move it on my own I could say glide for five seconds to Well, first I want to set it.

  • So let's have a go to, um, the bottom of the canvas so I can actually see where it is right now.

  • Over here.

  • Oh, that's interesting.

  • It tells me where it is.

  • How do I know the size of the stage?

  • Is there a way no one in the chat?

  • Oh, first.

  • Well, thank you.

  • I don't like Thank you too.

  • Want Valenzuela who donated Canadian to to make a donation for tonight.

  • Thank you.

  • Um, so, uh, I want to glide to like So I want the ex.

  • I want the ex to be zero and the y two b negative.

  • Like, how do I know the height of the stage?

  • Well, somebody tell me the size of the canvas of Julian Lopez is saying the size of the campuses Negative to 42 to 40 height, negative.

  • 1 80 to 1 80 So let's go to negative 1 80 There's a way to see.

  • Yeah, um, when you move your mouth Yeah.

  • God.

  • Oh, remove your mask over the canvas.

  • It, like, showed you.

  • Yeah, I was doing that here.

  • The campus is for 80 by 360 is everybody's telling me.

  • Okay, that's good.

  • So then I want to glide to about, uh, let's say, like, negative to, like, maybe like 100 over five seconds.

  • Let's try running this.

  • So I want to implement some nicer physics where it's like bursting up with Grab it.

  • I won't worry about that right now.

  • Let's have the glide be much faster.

  • Let's just say two seconds.

  • Okay?

  • So how do I in scratch, create a sprite?

  • That's a single like I want if I want to do is get jumping like 12 steps ahead from where I am by understanding of scratch.

  • But what if I wanted to Oh, Seba in the chest saying, if you save it, I can follow the project in my computer.

  • Yes.

  • Let me do that file.

  • Save now.

  • Share.

  • So this project is now being shared.

  • Um, so let me go back, By the way, we're gonna live stream until around noon.

  • I was gonna take a break at 11.

  • I'm just have a short break in the middle.

  • This is where we are so far.

  • So when the green things clicked, this goes up the back by the way, let's just check in on the drawing.

  • Can you show the drawing where it where it is so far?

  • No.

  • Okay, there we go.

  • Look at it.

  • So it will be moving a little bit.

  • This is amazing.

  • Do you want to make two drawings?

  • Are because we're just How did you do these?

  • Oh, this Damn.

  • Apparently we have a stamp marker.

  • I did not.

  • We have 10.

  • Okay?

  • Okay.

  • You only need a gravity variable.

  • You could make clones of spray.

  • Okay, we got another donation from Anonymous.

  • Thank you.

  • Let me go back to the code here.

  • Um all right.

  • So then I guess I want to broadcast a message when it gets to the top, and then I wanna have a burst of particles.

  • So let me and I want to make them stars.

  • So let me broad do that broadcast.

  • Where's the broadcast?

  • Do you know where?

  • Do you know where I find the broadcast?

  • You know which categories under events under events broadcast message.

  • Okay.

  • Okay, I got it.

  • I got it.

  • Do you wantto e want Oh, okay.

  • Okay.

  • Think the Nope.

  • Agents for me.

  • Do message Name?

  • Um What's the message name I want to make Burt.

  • Let's call it a, uh, burst.

  • Okay, let's make them twinkle as they burst.

  • Okay, so I want to broadcast this message burst, and then I need to make another spray, which is a star.

  • Can deserve some kind of, like star Perfect.

  • Let's make it this star.

  • And so when it receives a message when it receives a message burst So first, when it's clicked, I want to hide it, which must be under Luke Looks so hide it when I see you See, the received a message.

  • Burst show.

  • So this is going up, and there appears now It should also set its location to So I do want a variable because I want the actually, no, I could Price said its location to where the other sprites location is.

  • So when I when it receives burst, set that where motion is where I said its location go to I don't want to go to a random position.

  • No beach ball.

  • I look at that.

  • Okay, so this moves up, and then it appears a good okay, so duplicate in events duplicate in events.

  • So I want to make lots of stars.

  • How do I do that?

  • Maybe I'm being told in the chat that I duplicate in advance in events.

  • Where are my end events?

  • So I'm looking here looking for duplicate in costumes.

  • They're stupid.

  • Kate.

  • You create a clone off.

  • Yeah, but I want to duplicate.

  • I'm duplicating that started playing Starr.

  • Yes, it does.

  • Yeah, Well, then go to star's costumes, huh?

  • Um, from getting made from the mouse.

  • But you Oh, but I don't want to duplicate the design I want to make, actually, multiple sprites, each with their own behavior.

  • But maybe I do want to make different costumes eventually, because then it could change their have different colors.

  • No way.

  • No, that's costumes.

  • Yeah.

  • Okay, okay, okay.

  • Clone.

  • Everyone's talking.

  • The Czech loan is right.

  • Create a clone of myself.

  • Now, can I do a loop?

  • So where's the loop?

  • Do you know what a loop is?

  • Um Oh, May I?

  • It's called a repeat in stretched.

  • You know what repeat does, but what does?

  • Repeat d'oh!

  • I know, but what does that mean to repeat?

  • Maybe people don't know what that means.

  • I know what it means.

  • I'm asking you, explain it.

  • Pete. 00:58:28.7

check.

Subtitles and vocabulary

Click the word to look it up Click the word to find further inforamtion about it