<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="https://peda.net/:static/532/atom.xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Tutustumista Scratch-ohjelmointiin</title>
<id>https://peda.net/id/b220f96826a</id>
<updated>2022-08-28T11:30:38+03:00</updated>
<link href="https://peda.net/id/b220f96826a:atom" rel="self" />
<link href="https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin#top" rel="alternate" />
<logo>https://peda.net/:static/532/peda.net.logo.bg.svg</logo>
<rights type="html">&lt;div class=&quot;license&quot;&gt;Tämän sivun lisenssi &lt;a rel=&quot;license&quot; href=&quot;https://peda.net/info&quot;&gt;Peda.net-yleislisenssi&lt;/a&gt;&lt;/div&gt;&#10;</rights>

<entry>
<title>Tutustumista Scratch-ohjelmointiin</title>
<id>https://peda.net/id/f26a2c3826a</id>
<updated>2022-08-28T11:37:39+03:00</updated>
<link href="https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti#top" />
<content type="html">&lt;p&gt;&lt;b&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Scratch-tunnusten luominen&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Luo ensin itsellesi Scratch-tunnukset, jotta saat omat projektisi tallennettua. Mene osoitteeseen&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href=&quot;https://scratch.mit.edu/&quot; rel=&quot;nofollow ugc noopener&quot;&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;https://scratch.mit.edu/&lt;/span&gt;&lt;/a&gt; &lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Ja valitse oikeasta yläkulmasta ‘Liity Scratchiin’.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Luo itsellesi käyttäjätunnus ja salasana, ja ota ne itsellesi muistiin, jotta pääset kirjautumaan tulevillakin kerroilla!&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;b&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Oman projektin aloittaminen&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Valitse vasemmasta yläkulmasta ‘Luo’.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/1.jpg#top&quot; title=&quot;1.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/1.jpg:file/photo/f9c1f8f1921e102547ee20d7d100d9738fb9048f/1.JPG&quot; alt=&quot;&quot; title=&quot;1.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;Eteesi aukeaa seuraavanlainen näkymä:&lt;/span&gt;&lt;span&gt; &lt;br/&gt;&#10;&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;(&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;Huom: Kielen saat vaihdettua suomeksi ylhäältä vasemmalta maapallon kuvasta!)&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559685&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559685&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/2.jpg#top&quot; title=&quot;2.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/2.jpg:file/photo/b3ecfaf0d702f70d25b4442baf9617387400fcce/2.JPG&quot; alt=&quot;&quot; title=&quot;2.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;Skriptialueelle tuodaan pelissä tarvittavat koodit&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/li&gt;&#10;&lt;li aria-setsize=&quot;-1&quot;&gt;&lt;!--filtered attribute: data-leveltext=&quot;-&quot;--&gt;&lt;!--filtered attribute: data-font=&quot;Calibri&quot;--&gt;&lt;!--filtered attribute: data-listid=&quot;1&quot;--&gt;&lt;!--filtered attribute: data-list-defn-props=&quot;{&quot;134225954&quot;:true,&quot;134225961&quot;:true,&quot;335552541&quot;:1,&quot;335559682&quot;:1,&quot;335559683&quot;:0,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Calibri&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;-&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}&quot;--&gt;&lt;!--filtered attribute: data-aria-posinset=&quot;2&quot;--&gt;&lt;!--filtered attribute: data-aria-level=&quot;1&quot;--&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;Kaikki koodit löytyvät vasemmalta koodilohkoista&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/li&gt;&#10;&lt;li aria-setsize=&quot;-1&quot;&gt;&lt;!--filtered attribute: data-leveltext=&quot;-&quot;--&gt;&lt;!--filtered attribute: data-font=&quot;Calibri&quot;--&gt;&lt;!--filtered attribute: data-listid=&quot;1&quot;--&gt;&lt;!--filtered attribute: data-list-defn-props=&quot;{&quot;134225954&quot;:true,&quot;134225961&quot;:true,&quot;335552541&quot;:1,&quot;335559682&quot;:1,&quot;335559683&quot;:0,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Calibri&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;-&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}&quot;--&gt;&lt;!--filtered attribute: data-aria-posinset=&quot;3&quot;--&gt;&lt;!--filtered attribute: data-aria-level=&quot;1&quot;--&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;Pääset lisäämään ja muokkaamaan pelihahmoja oikealta hahmoalueelta&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/li&gt;&#10;&lt;li aria-setsize=&quot;-1&quot;&gt;&lt;!--filtered attribute: data-leveltext=&quot;-&quot;--&gt;&lt;!--filtered attribute: data-font=&quot;Calibri&quot;--&gt;&lt;!--filtered attribute: data-listid=&quot;1&quot;--&gt;&lt;!--filtered attribute: data-list-defn-props=&quot;{&quot;134225954&quot;:true,&quot;134225961&quot;:true,&quot;335552541&quot;:1,&quot;335559682&quot;:1,&quot;335559683&quot;:0,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Calibri&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;-&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}&quot;--&gt;&lt;!--filtered attribute: data-aria-posinset=&quot;4&quot;--&gt;&lt;!--filtered attribute: data-aria-level=&quot;1&quot;--&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;Oikeassa yläkulmassa voit testailla, miten pelisi toimii&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;b&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;Taustan ja hahmojen tekeminen&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Omaan peliin voi valita valmiin taustan ja pelihahmot, tai ne voi piirtää itse. Harjoitellaan aluksi oman taustan tekemistä.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;Valitse oikeasta alalaidasta Taustat ja sieltä ‘Piirrä’&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/3.jpg#top&quot; title=&quot;3.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/3.jpg:file/photo/6db6126ff5305d4a3640cecc2861bc057bb1c9c3/3.JPG&quot; alt=&quot;&quot; title=&quot;3.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Piirrä haluamasi tausta. Voit piirtää mitä tahansa haluat (värejä/kuvioita/maisema/tms).&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;b&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Hahmojen luominen ja liikuttaminen&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Harjoitellaan kolme erilaista tapaa saada hahmo liikkumaan.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;Valitse oikeasta alakulmasta ‘uusi hahmo’. Voit valita valmiin hahmon (Valitse hahmo) tai piirtää itsellesi oman hahmon (Piirrä). &lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt; &lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/4.jpg#top&quot; title=&quot;4.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/4.jpg:file/photo/af0b60555e6b0dc50aa7747e62128bc0f759c095/4.JPG&quot; alt=&quot;&quot; title=&quot;4.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;br/&gt;&#10;&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;Hahmon kokoa ja suuntaa voi muuttaa hahmoalueessa. &lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/5.jpg#top&quot; title=&quot;5.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/5.jpg:file/photo/6e87d6375f8ed2b26c95c7f5696715ba51446cb2/5.JPG&quot; alt=&quot;&quot; title=&quot;5.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;Aloitetaan sitten hahmon liikuttamiseen tarvittavan koodin tekeminen. Valitse vasemmalta yläkulmasta ‘Koodi’. Koodia tehdään raahaamalla haluttuja koodilohkoja skriptialueelle.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/6.jpg#top&quot; title=&quot;6.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/6.jpg:file/photo/45ab622280309e946c320b280c49c6dc5d3698a0/6.JPG&quot; alt=&quot;&quot; title=&quot;6.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;Hahmon saa liikkumaan monella eri tavalla. Jos halutaan, että hahmo pysyy koko ajan samassa asennossa, voidaan hahmoa liikuttaa lisäämällä x:n tai y:n arvoon lukuja. (x kuvaa liikettä vaakasuunnassa ja y pystysuunnassa)&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;Luo seuraavanlaiset komennot:&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/7.jpg#top&quot; title=&quot;7.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/7.jpg:file/photo/1c3a4a2056209351309c997e10ed36de1eaaedf5/7.JPG&quot; alt=&quot;&quot; title=&quot;7.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;Lisää vastaavat vielä, kun painetaan &lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;nuoli ylös&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt; ja &lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;nuoli alas&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;. &lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;Testaa, miten hahmosi liikkuu. Testaa myös, miten hahmon liike muuttuu, jos muutat komennon lukuarvoja.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;b&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Testataan toiselle hahmolle toisenlaista liikettä:&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Luo samaan peliin toinen hahmo. Näytä-komennolla voit piilottaa toisen hahmon näkyvistä.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/8.jpg#top&quot; title=&quot;8.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/8.jpg:file/photo/a2fe03cb8ed4e012a1446353cd4538602161897a/8.JPG&quot; alt=&quot;&quot; title=&quot;8.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Jos halutaan, että hahmo kääntyy liikkeen suuntaan, käytetään seuraavanlaisia komentoja:&lt;/span&gt;&lt;span&gt; &lt;br/&gt;&#10;&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;br/&gt;&#10;&lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/9.jpg#top&quot; title=&quot;9.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/9.jpg:file/photo/42541658345844c99c127d05dcbe8be9016d1791/9.JPG&quot; alt=&quot;&quot; title=&quot;9.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Lisää komennot taas kaikille nuolinäppäimille ja testaile hahmon liikuttamista&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;b&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Liikuttaminen hiiren osoittimen avulla:&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Luo vielä kolmas hahmo. Ohjelmoidaan tämä hahmo kulkemaan hiiren osoittimen mukana. Tähän tarvitaan ikuisesti-silmukkaa, jonka avulla saadaan hahmo seuraamaan hiirtä niin pitkään kuin peli on käynnissä.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/10.jpg#top&quot; title=&quot;10.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/10.jpg:file/photo/fa185e111d45f6c2e803c6df041eb80a563091e3/10.JPG&quot; alt=&quot;&quot; title=&quot;10.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;----------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;&lt;br/&gt;&#10;Hahmot saa liikkumaan myös toistensa mukaan. Laita ensimmäinen ja kolmas hahmosi näkyviin. Muuta kolmannen koodia niin, että hiiren osoittimen sijaan se osoittaa kohti ensimmäistä hahmoa:&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/11.jpg#top&quot; title=&quot;11.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/tutustumista-scratch-ohjelmointiin/teksti/11.jpg:file/photo/2a60c574f3d14626607bf712ec854e459d2451aa/11.JPG&quot; alt=&quot;&quot; title=&quot;11.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Laita peli käyntiin vihreästä lipusta ja testaa, mitä tapahtuu.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;----------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;&lt;br/&gt;&#10;Nyt osaat luoda pelitaustan, hahmoja ja tiedät, miten hahmot saa liikkeelle.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong class=&quot;editor red&quot;&gt;&lt;b&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;none&quot;--&gt;NÄYTÄ TYÖSI OPETTAJALLE!&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Tämän jälkeen voit halutessasi vielä kokeilla Scratchissa erilaisten toimintojen tekemistä, tai puuhailla jotain muuta lopputunnin :)&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;</content>
<published>2022-08-28T11:32:26+03:00</published>
</entry>


</feed>