2回目の授業は、マット(注1)を使います。マットの「行列」や「座標」を指定してトイオを動かします。小学低学年は「行列」、高学年は「座標」をつかいます。このとき、行列や座標の有効範囲は、生徒自身で調べるのがオススメです。
たとえば、Sキーを押したらスタート位置にスタンバイ、トイオがマットの外に出たら止まる等、1回目でつくったおしだしバトルを進化させましょう。
(注1)「toio?コア キューブ」付属の簡易プレイマットです
![学習のポイント](https://n-lesson.net/wp-content/uploads/2022/05/1.png)
toio?技術紹介動画(YouTube toio?公式チャンネル)
![(基本1)なぜトイオはマットの位置がわかるのか?](https://n-lesson.net/wp-content/uploads/2022/05/2-1.png)
![(基本2)マットのどのマスにいるか調べる(行と列)](https://n-lesson.net/wp-content/uploads/2022/05/3.png)
![トイオがいるマスの行列番号を調べる](https://n-lesson.net/wp-content/uploads/2022/05/4-2.png)
![トイオがいるマスの行列番号を調べる](https://n-lesson.net/wp-content/uploads/2022/05/5-1.png)
![(基本3)スタート位置にスタンバイする(角度)](https://n-lesson.net/wp-content/uploads/2022/05/6-2.png)
![(基本4)マットの座標を調べる](https://n-lesson.net/wp-content/uploads/2022/05/7-1.png)
![マットの座標を調べる](https://n-lesson.net/wp-content/uploads/2022/05/8-5.png)
![(基本5)~歩動かく(任意の距離を進む)](https://n-lesson.net/wp-content/uploads/2022/05/9-1.png)
![(基本6)かくしお宝エリアをつくる](https://n-lesson.net/wp-content/uploads/2022/05/10-6.png)
おしだしバトルを進化させよう
![(応用1)1マスずつ進む](https://n-lesson.net/wp-content/uploads/2022/05/13-5.png)
![(応用2)マットの外に出たら止まる](https://n-lesson.net/wp-content/uploads/2022/05/14-4.png)
※toio?は、株式会社ソニー・インタラクティブエンタテインメントの登録商標または商標です。