{"id":9171,"date":"2017-09-25T15:41:12","date_gmt":"2017-09-25T13:41:12","guid":{"rendered":"http:\/\/agora.xtec.cat\/esc-cancoll\/?page_id=9171"},"modified":"2018-11-27T15:19:22","modified_gmt":"2018-11-27T14:19:22","slug":"session-3","status":"publish","type":"page","link":"https:\/\/agora.xtec.cat\/esc-cancoll\/curs-scratch-primaria\/module-1-lets-start-the-scratchs-adventure\/session-3\/","title":{"rendered":"Session 3: Let&#8217;s make the characters move"},"content":{"rendered":"<h2>Working plan<\/h2>\n<div style=\"padding-left: 50px;\">\n<ul>\n<li>Can we move the characters?<\/li>\n<li>The block MOTION<\/li>\n<li>First movements: MOVE, BOUNCE, SET ROTATION, GO TO, GLIDE<\/li>\n<li>Interactive structure<\/li>\n<li>Directions<\/li>\n<li>Personatges animats<\/li>\n<\/ul>\n<\/div>\n<hr \/>\n<h2>Let&#8217;s make the characters move<\/h2>\n<p><img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/06\/scratch-icona_tasques.png\" alt=\"Icona tasques\" width=\"32\" \/><strong>Step by step<\/strong><\/p>\n<div style=\"padding-left: 50px;\">\n<ul>\n<li>Sign in.<\/li>\n<li>Create a new project with the name <strong>m1<\/strong><strong>repte 31<\/strong>.<\/li>\n<li>Analize the category MOTION:<br \/>\n<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/05\/scratch-moviment.png\" alt=\"Blocs de moviment\" \/><\/li>\n<li>In case of help, remember:<br \/>\n<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/05\/scratch-ajuda_moviment.png\" alt=\"Ajuda moviment\" \/><\/li>\n<li>Let&#8217;s see what happens if we make our character move 10 steps. Is is a little bit? Is it a lot?<br \/>\n<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/05\/scratch-moviment_moutepassos.png\" alt=\"Mou-te 10 passos\" \/><\/li>\n<li>Can we repeat that movement several times? Is MOVE 50 the same as REPEAT 5 TIMES &#8211; MOVE 10?<br \/>\n<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/05\/scratch-control_repeteixvegades.png\" alt=\"Repeteix 10 vegades\" \/>\u00a0<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/05\/scratch-control_persempre.png\" alt=\"Repeteix per sempre\" \/><\/li>\n<li>Using these blocks we are building an <strong>interactive structure<\/strong>.<br \/>\n<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/06\/scratch-repeteix5mou10.png\" alt=\"Estructura iterativa\" \/><\/li>\n<\/ul>\n<\/div>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/06\/scratch-icona_repte.png\" alt=\"Icona repte\" width=\"32\" \/>\u00a0<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/06\/scratch-repte1.png\" alt=\"Repte 1\" width=\"100\" \/><\/p>\n<ul>\n<li>Go on working on the project <strong>m1<\/strong><strong>repte31<\/strong>.<\/li>\n<li>Get the character start moving from the centre of the scene.<\/li>\n<li>Get it bounce when touching the edge.<\/li>\n<li>Get it change direction (without facing down).<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/06\/scratch-icona_pista.png\" alt=\"Icona pista\" width=\"24\" \/>\u00a0Clue: We can indicate any point of the scene with POLAR COORDINATES. They will help us describe one point of the scene with two numbers:<\/p>\n<p><strong>Number\u00a0x: indicates horizontal position<\/strong>. Its values include from\u00a0<strong>-240<\/strong>\u00a0(the most left point) to\u00a0<strong>240<\/strong>\u00a0(the most right point)<\/p>\n<p><strong>Nymber y: indicate\u00a0vertical position<\/strong>. its values include from <strong>-180<\/strong>\u00a0(the lowest point) to\u00a0<strong>180<\/strong>\u00a0(the highest point)<br \/>\n<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/05\/scratch-coordenades.png\" alt=\"Coordenades cartesianes\" \/><br \/>\n<strong>The centre of the scene is\u00a0(0, 0):<\/strong><\/p>\n<p><img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/05\/scratch-moviment_ves.png\" alt=\"Ves a\" \/><\/p>\n<hr \/>\n<h2>More movements, more real<\/h2>\n<p><img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/06\/scratch-icona_tasques.png\" alt=\"Icona tasques\" width=\"32\" \/><b>Step by step<\/b><\/p>\n<ul>\n<li>Create a new project with the name <strong>m1<\/strong><strong>repte32<\/strong>.<\/li>\n<\/ul>\n<div style=\"padding-left: 50px;\">\n<ul>\n<li>Let&#8217;s go to the category COSTUMES:<br \/>\n<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/05\/scratch-pestanyes_vestits.png\" alt=\"Pestanya vestits\" \/><\/li>\n<li>Let&#8217;s have a look at the costumes the Scratch&#8217;s cat has got:<br \/>\n<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/05\/scratch-vestits.png\" alt=\"Vestits gat\" \/><\/li>\n<li>Test the programme we had done, but now we must alternate the two costumes of the cat:<br \/>\n<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/05\/scratch-programa_movimentbasic.png\" alt=\"Moviment gat\" \/><\/li>\n<li>When we click on the gallery of the characters, we can the their costumes when choosing one:<br \/>\n<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/05\/scratch-personatge_ballerina.png\" alt=\"Vestits ballarina\" \/><\/li>\n<\/ul>\n<\/div>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/06\/scratch-icona_repte.png\" alt=\"Icona repte\" width=\"32\" \/>\u00a0<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/06\/scratch-repte2.png\" alt=\"Repte 2\" width=\"100\" \/><\/p>\n<ul>\n<li>Open the project <strong>m1<\/strong><strong>repte32<\/strong><\/li>\n<li>Choose a character from the gallery with several costumes.<\/li>\n<li>Create a simple animation and make the character move and change its costume.<\/li>\n<\/ul>\n<hr \/>\n<h2>Moreover&#8230;<\/h2>\n<p>The Scratch programme offers other ways of moving in the scene.<\/p>\n<p><img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/06\/scratch-icona_tasques.png\" alt=\"Icona tasques\" width=\"32\" \/><b>Step by step<\/b><\/p>\n<div style=\"padding-left: 50px;\">\n<ul>\n<li>In the category MOTION, the block TURN turns the character and makes it look at another direction:<br \/>\n<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/05\/scratch-moviment_giradreta.png\" alt=\"Gira dreta\" \/>\u00a0<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/05\/scratch-moviment_giraesquerra.png\" alt=\"Gira esquerra\" \/><\/li>\n<li>Create different combinations of the blocks TURN, MOVE, REPEAT to sew how the character is moving.<\/li>\n<li>The block GO TO 0,0 sends the character to the centre of the scene and the block POINT IN DIRECTION 90, makes the character look at the right side, which is the initial position:<br \/>\n<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/05\/scratch-moviment_apuntadireccio.png\" alt=\"Apunta en direcci\u00f3\" \/><\/li>\n<li>The block GLIDE<b>\u00a0<\/b>let us move the character to the indicated position in the indicated time:<br \/>\n<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/05\/scratch-moviment_llisca.png\" alt=\"Llisca\" \/><\/li>\n<li>Play trying these blocks and checking how they work. These block don&#8217;t allow us to use different costumes.<\/li>\n<\/ul>\n<\/div>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/06\/scratch-icona_repte.png\" alt=\"Icona repte\" width=\"32\" \/>\u00a0<img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/projectes.xtec.cat\/programacioirobotica\/wp-content\/uploads\/usu604\/2017\/06\/scratch-repte3.png\" alt=\"Repte 3\" width=\"100\" \/><\/p>\n<ul>\n<li>Create a new project with the name <strong>m1<\/strong><strong>repte33<\/strong>.<\/li>\n<li>With the character of the dancer, who has 4 costumes, cretate a programme that starts with the last costume &#8220;ballerina-d&#8221;. It must also use the 4 costumes within less than 1 second each one. Then, we have to simulate it does the wheel.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Working plan<\/p>\n<ul>\n<li>Can we move the characters?<\/li>\n<li>The block MOTION<\/li>\n<li>First movements: MOVE, BOUNCE, SET ROTATION, GO TO, GLIDE<\/li>\n<li>Interactive structure<\/li>\n<li>Directions<\/li>\n<li>Personatges animats<\/li>\n<\/ul>\n<p>Let&#8217;s make the characters move<br \/>\nStep by step<\/p>\n<ul>\n<li>Sign in.<\/li>\n<li>Create a new project with the name m1repte 31.<\/li>\n<li>Analize the category MOTION:\n<\/li>\n<li>In case of help, remember:\n<\/li>\n<li>Let&#8217;s see what happens if we&hellip;  <a href=\"https:\/\/agora.xtec.cat\/esc-cancoll\/curs-scratch-primaria\/module-1-lets-start-the-scratchs-adventure\/session-3\/\" title=\"Read Session 3: Let&#8217;s make the characters move\">Llegeix m\u00e9s\u00bb<\/a><br \/>\n","protected":false},"author":1,"featured_media":0,"parent":9144,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-9171","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/agora.xtec.cat\/esc-cancoll\/wp-json\/wp\/v2\/pages\/9171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/agora.xtec.cat\/esc-cancoll\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/agora.xtec.cat\/esc-cancoll\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/agora.xtec.cat\/esc-cancoll\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/agora.xtec.cat\/esc-cancoll\/wp-json\/wp\/v2\/comments?post=9171"}],"version-history":[{"count":4,"href":"https:\/\/agora.xtec.cat\/esc-cancoll\/wp-json\/wp\/v2\/pages\/9171\/revisions"}],"predecessor-version":[{"id":9286,"href":"https:\/\/agora.xtec.cat\/esc-cancoll\/wp-json\/wp\/v2\/pages\/9171\/revisions\/9286"}],"up":[{"embeddable":true,"href":"https:\/\/agora.xtec.cat\/esc-cancoll\/wp-json\/wp\/v2\/pages\/9144"}],"wp:attachment":[{"href":"https:\/\/agora.xtec.cat\/esc-cancoll\/wp-json\/wp\/v2\/media?parent=9171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}