games
moms
fluid look into getting started with scratch-
sketches a programming language available from the MIT Media Lab
so what is scratch scratches up
programming language but specifically designed for education
consequently it's easy to use and is designed for people at any age for extra
hassle
is designed to be visual colorful and graphical
and it uses kinda legal blocks approach reconnected from blocks together till
the program
in assault mostly designed to be fine so what do you get scratch
sketch is available from the MIT Media Lab it was actually developed by a group
that has the funnyman the lifelong kindergarten group
you could download it directly from their website now scratch
dot MIT .eu it's available
a number different operating systems including Windows Apple
in Linux so demos crash
first open your browser pointed to scratch not MIT
dot EDU then click the download scratch but you then see a form
which you should fill out and by the way for under 13 don't a lot your email
address information and then finally click continuous cracks download
this will take you to a new screen reader choose which one to the operating
system you want to use
just click on the program to download it to your computer after you download
install scratch
you can start by double-clicking the desktop desktop icon
or by clicking these program from your start menu
so let's get started when you first start scratch this is what you see on
the screen
seasonal scratch character and
sketched as a call this the sprite although I tend to call an actor
and the actor works on a stage this big
while you're here the City area
is we're gonna write a script and
we create that script using the functions shown on the far left
so we can James what the actor the actor moves
looks like the sound he makes control
for his functions and then there's
more advanced capabilities double talk about leader but let's do something
really simple
so what the after to move on the stage
clover demotion and one of the
functions I have here is moved ten steps so I can do resist
click my house and regular here to my script
and by the father says move ten steps to the say wanted to move a hundred steps
they are just ran a program a great thing about scratches you can build
things a test them
and you don't have to worry about hurting anything so
I wanna try making my actor move here
lead to different programs click on it and you know something on the stage
my actors mood of the stage some sand drag him back on here
per second someone amid all the way off the stage
so let's say that every time it was a hundred steps I wonder turn
ninety degrees skis in return
clockwise were to the right and
mid 90 degrees addition to the nineteen and their
again click on it can make a move
ninety degrees not allowed to move
and then to 90 degrees all have to do is
drive this clock into this la ciencia lights up
you on Netflix app the other just like leaders so every time I click on it
my locker move 100 steps
Germany degrees again and again
now so you have to click the hell do that every time
I can't control how he does that so here's my little control features
and I'm gonna grab a block here called repeat
their pizzas how many times I wanna do something
some one hundred to move in turn four times
notices a space heater into that space and to take my existing program
standard drag and drop into here
Anderson the control box I'm actually
surrounds the the functional created
so now let's watch what happens when I click on that function
to look vastly must quickly
was probably too fast let's make a modification to our program
now in order to gramm missile peace again I just
click and drag news and take a right onto your
and a little function here's a new drug to slim down
you know what I want the program to do is move a hundred steps
and they want to wait one sec sidearms little piece together
now I grab this entire block the back and repeat
now watch what happens
soon i sowee dinners and see what's going on
and to make things in a more interesting I can also add
a pen saunders et
him down
and now in a remote for him what happens
secretes a little blocks
now if I am on a plane around I might mess things up a little bit
and that's okay because I couldn't also create a function to make things on my
Sydney
something clear ice cream I am
little more complex into that the second
so let's say that I launch the makes a little more complex American keep moving
a hundred
100 steps noted the Star program out for second
and remove the week action you never want to delete something
and is right click the mouse button just the lead
with the stack here so who had stepped in to consider turning 90 degrees
I'm gonna do something a little bit differently though 105 degrees
he demanded happened do this see five times
now watch what happens
so now it's Anna turned off in a strange direction
keep training is over now original mix and isola geometric pattern
but now he clear the actor sees at the same angle
in the same position that is in so simply can't fix that a little bit
disconnect emotion here one thing they can do to say I wanted to go to a
specific location on the stage
the stage the middle stages at location 00
so this is the x-direction and it goes from minus
about 240 too close to 40
an up and down as the y-direction league in goals from minus
but a slight 180 closely
you can see where that the mouse is plenty the point I'm
down there K soul and what my
after two return home
to location 00
hoops and a little line here so because we wanted to make clear
after I do that and
I want the direct after the point in the direction of ninety degrees
so we'll see what happens on a run that
and so is that a normal second round my function
many times I want in
police return home I can also clean up
my script just by getting right clicking the mouse
cleanup it'll make everything nice and pretty
again this is my after my sprite back yours the stage
and down here shows you the the different actors around the stage and
the stage
considers a boring stage at all Alyssa
plain white field but I can do is change the background so I clicked on stage
began I can write a script that I wanna go figure 2 backgrounds
in anger important pitcher from those available inside scratch
so looks a and something from major any inlets
given as does now go back to my sprite
goodnight my scripts tramadol engineer
licking it clean up afterwards they can also change the sprite
already a new one if you like so for example
this one II KN
delete this actor the and there was also the least steps remember that
and I couldn't pick the new straight from a file so for example of
I could pick one the animals so say that I really like
Buffalo so there have a buffalo
inner our stage now but but it's not something that I like
I can pick something new so I can actually paid my own spiteful want
those he's is all kinds of drawing tools
the Jerome or
you can import and strike from
someplace else systems again
scratch heads and a large number
straight as part of that system
and let's have a quick and dirty introduction to you
the sketch losses