[[Programing]] > å

#title(åˤ夦 - ԥ塼򤪤ˤ褦)

 written by Yutaka Kachi
 August 2013 for Scratch 2.0

֥å(Scratch)פϡɤǤ⡢ޥǥץĤġǤ

֥åȤ߹碌褦ˤơ˥䤪󤬤ʤɡ椦˥ԥ塼򤢤Ĥ뤳ȤǤޤ

ΥڡϡɤʾˤȤȡ͡ˤΤˡåΤϤᤫ򤫤󤿤ˤĤᤤޤ

(ʲ)

#ref(s_site-scratch.png);

''⤯''

#contents

*åϡɤʤ? [#pe2e6f7c]

椦ˡ֥ԥ塼פ򤢤ĤäơɤʤȤǤ礦

åǤϡɤ֤ĤΥ饯򥢥˥Τ褦ˤꡢ

󤬤ʤ餷ꡢ򥲡ˤƤꡢ

ʤƤȤǤ㤤ޤ

#ref(setsumei.png);

Ǥ⡢ԥ塼ΤʤΥ˥򤦤ꡢ󤬤ʤ餹ʤ顢

ץϤޤ͡

˥ᤵġ䡢󤬤ץ졼䡼ĤФǤ

äơͥåȤǤ󸫤Ĥޤ

Ĥϡ֥ץפĤȡ˥䥲ब''֤Ǥ椦˺''褦ˤʤǤ

åΥץϡä󤿤Ǥ

ʤդˡ֥å򤯤ߤ碌Ƥ

ܡɤˤƤǤ⡢礦֡

⤸Τޤˡ뤳Ȥ⤢ޤ

#ref(program.png);

ΤΥץϡͥΥ饹Ȥ򤫤Ƥ󤹤褦ˤޤ

餸ФˡǤߤƤ

ʤȤʤߤ狼Ǥ硣

*ϤΤä [#i77fc513]

ǤϡåǥץĤäƤߤޤ礦

ǤϡΤʤǡͥˤ뤤Ƥ餤ޤ

**1.ޥΤĤΤ餤 [#u034979b]

äȡ⤦äƤȤ⤦ɡ

ʤȤ򤪤餤Ƥޤ

ϡޥΤĤ

ȤꤢĤΤդĤǤСǤ礦

#ref(mouse.png);

󤿤Ǥ͡

ʤߤˡåϡǡ֥áפȤ Ȥ򤢤路Ƥޤ

**2.åȤ˥ [#t0bc191c]

ǤϡåΥȤ˥Ƥߤޤ礦

***Ȥ˥ [#z679e1d2]

ĤΥ󥯤򥯥åƤߤƤ

-[[Scratch - ץࡢͭ:http://scratch.mit.edu/]] http://scratch.mit.edu/

ǡåΥȤ˥ơʤ󤸤ˤʤޤ

#ref(web.png);

***ץĤȤ [#m67d801c]

顢ͥΥ饹Ȥޤ͡

ˤϡ֤äƤߤפȤƤޤ

ǤϡäƤߤޤ礦!

ͥΥ饹Ȥ򥯥åƤߤƤ

#ref(web-button.png);

ǡץĤȤҤ礦ޤ

#ref(web-program.png);


ˤϡʤΤҤ礦Ƥޤ͡

Ҥ꤬ˡͥΥ饹Ȥޤ

åǤϡΥͥץफ餦ޤʥͥΤΤ⡢ޤˡ


***֥ƥåץХƥåξҲפ򤱤 [#t8c2768c]

ߤˤϡ֥ƥåץХƥåξҲפȡƤޤ

ϡåΤĤ򡢤ФˤĤᤤƤȤǤ

Ǥ⡢äȤ⤸ޤˤʤΤǡ

ϡƤޤ礦

֥ƥåץХƥåξҲפΤߤˤ֡ߡץޡ򥯥åƤ

#ref(delete-tips.png);

ǡ֥ƥåץХƥåξҲפߤʤʤޤ

Τۤˤ⡢ˤϡʤΤҤ礦Ƥޤ

Τϡ֤ĤʤΤǡषޤ礦


**3.ץĤ [#q6ccf609]

Ǥϡ褤ץǡͥ򤦤Ƥߤޤ礦

ʤꡢץĤΤǤϤʤ

åΤΤ򤸤Фˤᤷʤ顢ץĤޤ

***ɥåǡФ򤫤 [#me47a36c]

ǤϡޤˡͥΥ饹ȤɥåƤߤƤ

#ref(program-drug.png);

ۤ顢ͥΤФ礬ޤ͡

󤿤Ǥ

Τ褦ˡåǤϡޥǤ󤿤

Ȥ礦֤ĤΤФ򤫤뤳ȤǤޤ

***֥å򥯥åơФ򤫤 [#vf36e6f8]

Ĥϡ⤦äȤդĤʤ򤵤Ƥߤޤ礦

ͥΥ饹ȤΤȤʤˤĤ֥å򥯥åޤ

Ǥϡ10ưס10ݤˤȤ֥å򥯥åƤߤƤ

#ref(program-click.png);

ǡͥäȤФ򤫤뤳ȤǤޤ礦ɡ10ݤ֤Ǥ

Ĥϡ15ٲ󤹡ס15ɤޤ魯ˤ򥯥åǤ

#ref(program-kaiten.png);

ǡͥƤ󤷤ޤ

ߤޤȡҤޤ꤬Τǡɤ⤿ᤷƤߤޤ礦

åǤϡʤդˡ֥å򥯥åơ

Ȥ礦֤Ĥ⡼ȥȥǤޤ

***֥å򤤤ɤ [#j855341e]

Ǥϡ褤ץĤޤ

ۤɡ10ưס10ݤˤȤ֥å򥯥åޤ

Ӥˡʤɤ⥯åΤϤؤǤ

ǡץΤȤ礦Ǥ

10ưפ''ä''ˤϡĤΥ֥å򤯤ߤ碌ޤ

ޤϡ10ưפΤ֥å򡢤ߤΤϤΤФˡɥåǤɤޤ

#ref(program-block.png);

ʤΤФϡФ礬ΤǤϤʤԡǤޤ

***ץ򤯤ߤƤ [#b4f42225]

ĤˡäȤ꤫Υ֥å򤪤ޤ

ΡסʤˤȤ󥸤Τ⤸򥯥åޤ礦

ȡ󥸤Υ֥åĤҤ礦ޤ

Υ֥åΤʤ֤äȡפȤ֥åɥåơ

10ưפΤ֥åΤˡΤޤ

#ref(program-zutto.png);

ȡ֤äȡץ֥åΤˡ10ưפΤ֥åäȤϤޤޤ

ǡǤꡣ

***ץ򤸤ä [#e5adfc5c]

Ǥϡץ򤸤äƤߤޤ礦

ץμ¹(ä)ȤϡߤƤ֥åΤФ碌ơǡǤɤ夦''뤳ȤǤ

֥ץ򡢤Ϥ餻פȤȤ⤢ޤ

ξϡ10ưפ֤äȡפ꤫ޤ

''ץ򤸤äˤϡ֤äȡץ֥å򥯥åޤ''

#ref(program-run.png);

ȡͥ10⤺Ĥơ򤺤äȤ꤫Τ

Ϥˤ֤ĤäơȤޤޤ

顢ͥɥåơޤʤˤɤƤߤޤ礦

ȡޤ10⤺Ĥơ򤺤äȤ꤫ơϤˤ֤ĤäơȤޤޤ

''ץȤˤϡ⤦ɡ֤äȡץ֥å򥯥åޤ''


**4.ץ򤫤礦褦 [#wd8d4cce]

ǡΤ󤿤ʥץबǤޤ

Ǥ⡢餬ץΤۤФǤ

Ĥäץϡɤɤ󤫤礦Ƥޤ礦

Τˡʥ֥å򤿤ᤷƤߤޤ礦

***ϥ򥯥åơץ򤸤ä [#sb036ef8]

ץ򤸤äȤ

֥å򥯥åΤϤɤǤ

åФˤäƤϡޤäǤʤȤ⤢ޤ

ǡ٤ĤΤۤۤǡץ򤸤äǤ褦ˤޤ礦

åǤϡͥΤˤ롢ϥ򥯥åƥץ򤸤äǤޤ

#ref(program-flag1.png);

Τˤϡ֥ϥå줿Ȥץ֥åĤޤ

ǤϡϥȤƤޤäϥϥΥޡҤ礦ޤ

+֥åΤˤ֥٥ȡסʤ㤤ˤ򥯥å
+֥ϥå줿Ȥץ֥å򡢡֤äȡץ֥åΤˤϤ롣

#ref(program-flag.png);

Ǥ顢ä˥ϥ򥯥åơץ򤦤Ƥߤޤ礦

***ͥ򤫤Ƥ󤵤 [#g7b94c1e]

Ĥϡͥ򤫤Ƥ󤵤ޤ

Ƥ󤵤ˤϡư()ˤ15ٲ󤹡ץ֥åȤޤ

+֥åΤˤư()򥯥å
+15ٲ󤹡ץ֥å򡢡10ưץ֥åΤˤϤ롣

#ref(program-kaiten2.png);

ǡǤޤ

Ǥ顢ץ򤦤Ƥߤޤ礦

#ref(program-kaiten3.png);

ʤߤˡΡư()ˤϡˤĤä

10ưץ֥å⤢ޤ͡

***֥åΤʤΤ򤫤 [#mc0298d6]

Ĥϡ֥åΤʤˤ롢򤫤Ƥߤޤ礦

ȤС֡10ưץ֥åˤϡ10Ȥ''''ޤ

15ٲ󤹡ץ֥åˤϡ15Ȥ''''ޤ

''''򤫤ƤߤΤǤ

+ץΤʤˤ롢10ưץ֥å10Ȥ''''򥯥å
+ܡɤΡBackSpaceץ򤪤ȡ10
+ܡɤ30Ȥˤ夦礯

ǡ30ưץ֥åȤʤޤ

#ref(program-kaiten4s.png);

ץ򤸤äȡɤʤǤ礦

ͥޥ򤨤褦ˡϤǤ

***äȤäƤߤ褦 [#zdb9510b]

ǡåΤϤΤäݤϡҤȤǤ

⤦Ȥ֤Ǥ٤ꡢä󤷤ꡢǤǤ礦

ҡ֤ΤꤿȤˤ礦󤷤ơΤޤΥԥ塼򤪤ˤƤߤޤ礦

ȤСʥơޤˤ礦󤹤Τ⡢⤷ޤ

- ʤˤ礦󤹤ʥͥ򥮥ˤ
- ۤˤɤʥ֥å뤫٤ơɤʤϤ餭뤫ä󤷤Ƥߤ
- ޤΤȤɤʤդ˥åǤǤ뤫ΤƤߤ

*äȡ٤ [#e183146c]

-[[Amazon.co.jp Ϥ勞勞ץߥ:  ¹: :http://www.amazon.co.jp/gp/product/4822285154/ref=as_li_ss_tl?ie=UTF8&camp=247&creative=7399&creativeASIN=4822285154&linkCode=as2&tag=plaseboeffect-22]]
--оݤˡ⤦路åΤĤ򤻤Ĥᤤܡ
-[[Amazon.co.jp ǤܤCD-ROMա: Thoru Yamamoto,  ¹: :http://www.amazon.co.jp/gp/product/4798104809/ref=as_li_ss_tl?ie=UTF8&camp=247&creative=7399&creativeASIN=4798104809&linkCode=as2&tag=plaseboeffect-22]]
--åθͥˤʤäΥλȤ򤻤Ĥᤤܡ
-[[Amazon.co.jp 12ФϤHTML5CSS3: TENTO: :http://www.amazon.co.jp/gp/product/4899773420/ref=as_li_ss_tl?ie=UTF8&camp=247&creative=7399&creativeASIN=4899773420&linkCode=as2&tag=plaseboeffect-22]]
--åǤϤʤ֥Ȥǥ󤹤ˡ򤻤Ĥᤤܡʬ٤ȤͥåȤǤϤäԤ礦ȤäȤˤ٤Ǥ
-[[Amazon.co.jp Raspberry Piͷܤ!:  ¹: :http://www.amazon.co.jp/gp/product/4899773528/ref=as_li_ss_tl?ie=UTF8&camp=247&creative=7399&creativeASIN=4899773528&linkCode=as2&tag=plaseboeffect-22]]
--3000Ǥ륳ԥ塼֥饺٥꡼ѥפΤȤ򤻤Ĥᤤܡ󡢥å⤦ޤ

*󤳤 [#j5ad64c9]

-[[Scratch - ץࡢͭ:http://scratch.mit.edu/]] 
-[[OtOMO Scratch å:http://scratch-ja.org/]]
-[[Scratch (ץߥ󥰸) - Wikipedia:http://ja.wikipedia.org/wiki/Scratch_(%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0%E8%A8%80%E8%AA%9E)]]
-[[֥å- Scratch Wiki:http://wiki.scratch.mit.edu/wiki/Scratch_Wiki:Table_of_Contents/Blocks]]ʱѸ
-[[Scratch1.4 ե󥹥:http://info.scratch.mit.edu/sites/infoscratch.media.mit.edu/files/file/translated-docs/ReferenceGuide_v1.4ja_080902.pdf]]ܸ졢PDF

-[[ͥƨ ScratchǺ:http://scratch.mit.edu/projects/2720899/]]
-[[ץߥ󥰤ǡʬΥĤץߥ󥰥å:http://www.canvas.ws/p-ws/]]

-[[ȥץߥ>Education_and_Programing]]

*äȡ٤ [#e183146c]

-[[Amazon.co.jp Ϥ勞勞ץߥ:  ¹: :http://www.amazon.co.jp/gp/product/4822285154/ref=as_li_ss_tl?ie=UTF8&camp=247&creative=7399&creativeASIN=4822285154&linkCode=as2&tag=plaseboeffect-22]]
--оݤˡ⤦路åΤĤ򤻤Ĥᤤܡ
-[[Amazon.co.jp ǤܤCD-ROMա: Thoru Yamamoto,  ¹: :http://www.amazon.co.jp/gp/product/4798104809/ref=as_li_ss_tl?ie=UTF8&camp=247&creative=7399&creativeASIN=4798104809&linkCode=as2&tag=plaseboeffect-22]]
--åθͥˤʤäΥλȤ򤻤Ĥᤤܡ
-[[Amazon.co.jp 12ФϤHTML5CSS3: TENTO: :http://www.amazon.co.jp/gp/product/4899773420/ref=as_li_ss_tl?ie=UTF8&camp=247&creative=7399&creativeASIN=4899773420&linkCode=as2&tag=plaseboeffect-22]]
--åǤϤʤ֥Ȥǥ󤹤ˡ򤻤Ĥᤤܡʬ٤ȤͥåȤǤϤäԤ礦ȤäȤˤ٤Ǥ
-[[Amazon.co.jp Raspberry Piͷܤ!:  ¹: :http://www.amazon.co.jp/gp/product/4899773528/ref=as_li_ss_tl?ie=UTF8&camp=247&creative=7399&creativeASIN=4899773528&linkCode=as2&tag=plaseboeffect-22]]
--3000Ǥ륳ԥ塼֥饺٥꡼ѥפΤȤ򤻤Ĥᤤܡ󡢥å⤦ޤ

ȥå   ʬ Хåå   ñ측 ǽ   إ   ǽRSS