tag:blogger.com,1999:blog-48859967189079113302024-03-15T00:50:38.042+09:00PlayMakerでやるお!UnityのプラグインであるPlayMaker(プレイメーカー)のチュートリアルやTipsを載せていきます! Anonymoushttp://www.blogger.com/profile/03436770783237615508noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-4885996718907911330.post-53281483384988803422016-04-27T02:09:00.000+09:002016-04-27T02:18:06.834+09:00 PlayMakerでユニティちゃんとアレコレ!(1/6)こんばんは。DIGOです。<br />
間が空いてしまって申し訳ありません。<br />
<br />
今日は今後作っていくものを紹介します。<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.blogger.com/video.g?token=AD6v5dxfrymFqjniz0VwVmGZr1QC6XeIBGy2qNna-WIywatgdBHK0IX7GGVovfd6G6Yjx2ronf6Xq2IgPQZQYouqqw' class='b-hbp-video b-uploaded' frameborder='0'></iframe></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<a name='more'></a><br />
<br />
<br />
今回は【時間内にスイッチを何個作動できるか!】<br />
みたいな簡単なゲームを作っていきます。<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-sKm-QAUcOlj2gN1yu7kgYid2n8pE6_TX-6MIGg4PSmn_KC2_XmbUn8fC7DE3g0Cmyuwy_YJisWTHvwB6-A_PLtPhBu5EdQBoFBOOdEGtb0-D3OM1hgUSKgrWDwTS9W9HUTA6uKX4FqY/s1600/%25E7%2584%25A1%25E9%25A1%258C75.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="246" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-sKm-QAUcOlj2gN1yu7kgYid2n8pE6_TX-6MIGg4PSmn_KC2_XmbUn8fC7DE3g0Cmyuwy_YJisWTHvwB6-A_PLtPhBu5EdQBoFBOOdEGtb0-D3OM1hgUSKgrWDwTS9W9HUTA6uKX4FqY/s400/%25E7%2584%25A1%25E9%25A1%258C75.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">ひたすらユニティちゃんが走る!</td></tr>
</tbody></table>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhxSTQJjRms3zkArRhgqUNaKm8SlaWQo3XSVMQShO9lI6lbLOb1XSStF0yKQYMTagRHFHY1MxP_vaooaZmw9BcT-sFML747zcexmBFXScGdF_IytFjnmPTvPUItaAK0UjvsKtQPt0b-vM/s1600/%25E7%2584%25A1%25E9%25A1%258C76.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhxSTQJjRms3zkArRhgqUNaKm8SlaWQo3XSVMQShO9lI6lbLOb1XSStF0yKQYMTagRHFHY1MxP_vaooaZmw9BcT-sFML747zcexmBFXScGdF_IytFjnmPTvPUItaAK0UjvsKtQPt0b-vM/s400/%25E7%2584%25A1%25E9%25A1%258C76.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">時間になるとゲームオーバーの表示</td></tr>
</tbody></table>
<br />
<h3>
1.ちょっと見せ</h3>
<br />
指揮官のようなゲームオブジェクトを作り、そこから他のゲームオブジェクトに指示を出していきます。<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVL1iB_DN3M-R3jVqbeJvlpHRCDtNpIgYOJ8nQ_8wgOlEJ9Kl92jfKr4z254fZ6daQaqceyQcMRAnx6rDXQuGq0XLAUh574Y1jbd-TChbPT1AHO7ILtKScHEAJgPwjH8z86KImwEyWknU/s1600/%25E7%2584%25A1%25E9%25A1%258C73.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVL1iB_DN3M-R3jVqbeJvlpHRCDtNpIgYOJ8nQ_8wgOlEJ9Kl92jfKr4z254fZ6daQaqceyQcMRAnx6rDXQuGq0XLAUh574Y1jbd-TChbPT1AHO7ILtKScHEAJgPwjH8z86KImwEyWknU/s640/%25E7%2584%25A1%25E9%25A1%258C73.png" width="356" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">GameManagerというゲームオブジェクトにFSMを3つ。<br />
Mainはゲーム全体の動き。<br />
Scoreはスコアの増加と画面内での表示。<br />
Timerは時間に関係する部分。</td></tr>
</tbody></table>
<br />
<br />
また、スイッチのオブジェクトには、Send Eventというアクションを付けて、スイッチが作動したことを司令官(GameManager)に伝える役目を担ってもらいます。<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX8U9gJgmEo4gjYS7hqyf3RlrcfChH2Vf6Uu_WNZrJmk_Pa8zHjYRMx-xGhyphenhyphenCjeU9qxjTbaA_fl_XjBsQqw9pdOG4nkwqPtEdwbZproCtMyxp7UKXQvDThL0Q4SefvzgI4ysLlMQ262Vs/s1600/%25E7%2584%25A1%25E9%25A1%258C74.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="296" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX8U9gJgmEo4gjYS7hqyf3RlrcfChH2Vf6Uu_WNZrJmk_Pa8zHjYRMx-xGhyphenhyphenCjeU9qxjTbaA_fl_XjBsQqw9pdOG4nkwqPtEdwbZproCtMyxp7UKXQvDThL0Q4SefvzgI4ysLlMQ262Vs/s640/%25E7%2584%25A1%25E9%25A1%258C74.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
<br />
<br />
<br />
<br />
<h3>
2.終わりです</h3>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEUp18DVhsPdLqDVLHd0nOTeq1O_eUGpexZ-eAvDD4p9jyVDFot2HKzUc6zNzYN1lcbjOgIh6FqZ7pyuhCEccd9PrxvtEMTxPHRCKdONr-QT2y0tyx4Q-C2gKrVkJ9uugxY2ARB7V_rak/s1600/l1143.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEUp18DVhsPdLqDVLHd0nOTeq1O_eUGpexZ-eAvDD4p9jyVDFot2HKzUc6zNzYN1lcbjOgIh6FqZ7pyuhCEccd9PrxvtEMTxPHRCKdONr-QT2y0tyx4Q-C2gKrVkJ9uugxY2ARB7V_rak/s400/l1143.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
<br />Anonymoushttp://www.blogger.com/profile/03436770783237615508noreply@blogger.com0tag:blogger.com,1999:blog-4885996718907911330.post-41644553984646724152016-04-22T23:09:00.001+09:002016-04-27T02:18:16.990+09:00 PlayMakerでユニティちゃんとアレコレ!(準備編)<div>
<div>
こんばんは、DIGOです。<br />
<br />
「箱を弄るのはそろそろ飽きてきたし、オレは箱よりもかわいい女の子が画面にいたほうが捗るの!!!」</div>
<div>
<br /></div>
<div>
そんな声が聞こえました。(たぶん)<br />
ということで次からはUnity公式キャラクターのユニティちゃんのアセットを使ってPlayMakerのチュートリアルを進めていこうと思います。<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKkIPFRdWxQy8UamcpuRBYisM1zJDXoCmw7RShdW7LSYD0cQUL3JyR1XszDPYReiKFhzzzQdfUy0q_jqWy4vFDP57UFZYawoQZagz8hqyTqBo5WopKBCpo2FDcpcncnIUPA6VAUu1CTyY/s1600/%25E7%2584%25A1%25E9%25A1%258C70.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="195" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKkIPFRdWxQy8UamcpuRBYisM1zJDXoCmw7RShdW7LSYD0cQUL3JyR1XszDPYReiKFhzzzQdfUy0q_jqWy4vFDP57UFZYawoQZagz8hqyTqBo5WopKBCpo2FDcpcncnIUPA6VAUu1CTyY/s320/%25E7%2584%25A1%25E9%25A1%258C70.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
</div>
</div>
<div>
<a name='more'></a><h3>
1.ユニティちゃんの公式サイトからアセットをダウンロードする。</h3>
公式サイト:<a href="http://unity-chan.com/">http://unity-chan.com/</a></div>
<div>
<br /></div>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKWdMagTdf3Vlgp_QXv7IPozJfDC8QdQo_TR3R_2omxTmW3gwaC-tGQRTQdEjeoe3kOuQyRBSmgFwu-pW40xmEVB45kyhCjqHL3SULUl-VyA-ujz3z0H7_IjD0CS49GoY4cMU_NdZYU1I/s1600/%25E7%2584%25A1%25E9%25A1%258C50.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKWdMagTdf3Vlgp_QXv7IPozJfDC8QdQo_TR3R_2omxTmW3gwaC-tGQRTQdEjeoe3kOuQyRBSmgFwu-pW40xmEVB45kyhCjqHL3SULUl-VyA-ujz3z0H7_IjD0CS49GoY4cMU_NdZYU1I/s640/%25E7%2584%25A1%25E9%25A1%258C50.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: 12.8px;">公式サイトを開いたら左上のDATA DOWNLOADをクリック</span></td></tr>
</tbody></table>
<div>
<br /></div>
<div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy_O0iKeWF4_hjJ7hbNRsrFsV9E95Md03zERzq7Hnoc5J9phwp_pBAYDJqXEISOQlw3qekK-ielBMDDXWhxYJfaobB2nhZ0iS5NOCdsKVBOcSO7ZXA5Eh92Hci2ekoRoYseE-MADJuMXk/s1600/%25E7%2584%25A1%25E9%25A1%258C51.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy_O0iKeWF4_hjJ7hbNRsrFsV9E95Md03zERzq7Hnoc5J9phwp_pBAYDJqXEISOQlw3qekK-ielBMDDXWhxYJfaobB2nhZ0iS5NOCdsKVBOcSO7ZXA5Eh92Hci2ekoRoYseE-MADJuMXk/s640/%25E7%2584%25A1%25E9%25A1%258C51.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">スクロールで下の方まで見ていき..</td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDRBu4wuJwbdugzDc2G6TKe_qrKI1oPcKXRltkv3F5MHFnhYhXmPpyoWi9FMAadZwVe47DJPDFJNwjYKYMljwKxUi3j_qPSMpzdsQ4Ww1VnzfY5rjuOVWzrhwhPOdUhGyKhcc8yZ-SAOw/s1600/%25E7%2584%25A1%25E9%25A1%258C52.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="346" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDRBu4wuJwbdugzDc2G6TKe_qrKI1oPcKXRltkv3F5MHFnhYhXmPpyoWi9FMAadZwVe47DJPDFJNwjYKYMljwKxUi3j_qPSMpzdsQ4Ww1VnzfY5rjuOVWzrhwhPOdUhGyKhcc8yZ-SAOw/s640/%25E7%2584%25A1%25E9%25A1%258C52.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">1.”ユニティちゃんライセンスに同意しました。”のチェックボックスをオンにする。<br />
<span style="color: red;">※</span><span style="font-family: "hiragino maru gothic pro" , "ヒラギノ丸ゴ pro w4" , "helvetica" , "arial" , "ヒラギノ角ゴ pro w3" , "hiragino kaku gothic pro" , , "meiryo" , "ms pゴシック" , sans-serif; font-size: 12.8px; line-height: 21.76px; text-align: left;"><span style="color: red;">ユニティちゃんライセンス条項はしっかりと確認してください。</span><br />2.データをダウンロードするをクリック</span></td></tr>
</tbody></table>
<span style="font-family: "hiragino maru gothic pro" , "ヒラギノ丸ゴ pro w4" , "helvetica" , "arial" , "ヒラギノ角ゴ pro w3" , "hiragino kaku gothic pro" , , "meiryo" , "ms pゴシック" , sans-serif; font-size: 12.8px; line-height: 21.76px;">ユニティちゃんライセンス条項</span><br />
<a href="http://unity-chan.com/contents/license_jp/">http://unity-chan.com/contents/license_jp/</a><br />
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHTYYocji_nBA-dGTTU1hNjocEmTUovmwJNZny3sGDeG7eozED2c5UYyH-VNtwovnjM3foSE3-sI5jLep2wL9s6T3eK4dhFqMpkzENBzf84NqzEMridL8LpCbGrBsrkuV4VCsFv8oKgU8/s1600/%25E7%2584%25A1%25E9%25A1%258C53.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="322" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHTYYocji_nBA-dGTTU1hNjocEmTUovmwJNZny3sGDeG7eozED2c5UYyH-VNtwovnjM3foSE3-sI5jLep2wL9s6T3eK4dhFqMpkzENBzf84NqzEMridL8LpCbGrBsrkuV4VCsFv8oKgU8/s640/%25E7%2584%25A1%25E9%25A1%258C53.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">アセットの中から”ユニティちゃん 3Dモデルデータ”のDOWNLOADボタンを押します。</td></tr>
</tbody></table>
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGqi1bK4KrsWqKkW3J7AvZL-AvcbAd9ECC0Zu2gcFkSqx23lRfWLoNXh3mLR_57yOgph7Pb6uIsaxk2O_m9vAVxZe_eRNvuGMCcGPCIuHCTZGHayjOZhr7ijJDj3hRhQm4RmH5iOEoDxQ/s1600/%25E7%2584%25A1%25E9%25A1%258C54.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="328" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGqi1bK4KrsWqKkW3J7AvZL-AvcbAd9ECC0Zu2gcFkSqx23lRfWLoNXh3mLR_57yOgph7Pb6uIsaxk2O_m9vAVxZe_eRNvuGMCcGPCIuHCTZGHayjOZhr7ijJDj3hRhQm4RmH5iOEoDxQ/s640/%25E7%2584%25A1%25E9%25A1%258C54.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">アセットをダウンロードできました!</td></tr>
</tbody></table>
<br />
<h3>
2.ユニティちゃんをインポートする</h3>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirvuMA8L4Wks_V5ChfaDBkFdLZKb_wojOp3YmT7GnXESWfVibpIm2vbG9wXV3aQPs2DhSGQ1rx4UCpOX5dEXrKbKoAUZ5xfpoePnuJNkoaw7LZmGnDtQez09TZaVRVW5exBhdRifIwj3s/s1600/%25E7%2584%25A1%25E9%25A1%258C60.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="498" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirvuMA8L4Wks_V5ChfaDBkFdLZKb_wojOp3YmT7GnXESWfVibpIm2vbG9wXV3aQPs2DhSGQ1rx4UCpOX5dEXrKbKoAUZ5xfpoePnuJNkoaw7LZmGnDtQez09TZaVRVW5exBhdRifIwj3s/s640/%25E7%2584%25A1%25E9%25A1%258C60.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: 12.8px;">このアセットをAssetsメニュー→Import Package→Custom Package</span><span style="font-size: 12.8px;">、もしくは</span><span style="font-size: 12.8px;">Unityが開いた状態でファイルをダブルクリック</span><span style="font-size: 12.8px;">でインポートしてください。</span></td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4qmFEGl9mbHJIecwT-GTiDE0UZdUCs7TGj5PyzpnnT25ftBskVUX3_cAjXMn4GArHNSNjKayPBoudTpTDxpAXuq55uTEP0epMt4NIcoVDERQV_kIdtCjy2mj1nd-oSFnrzCmPC8JsUqQ/s1600/%25E7%2584%25A1%25E9%25A1%258C55.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4qmFEGl9mbHJIecwT-GTiDE0UZdUCs7TGj5PyzpnnT25ftBskVUX3_cAjXMn4GArHNSNjKayPBoudTpTDxpAXuq55uTEP0epMt4NIcoVDERQV_kIdtCjy2mj1nd-oSFnrzCmPC8JsUqQ/s640/%25E7%2584%25A1%25E9%25A1%258C55.png" width="590" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Importをクリック!</td></tr>
</tbody></table>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWN9Fyiq8F_brGNyyevu8gCeRMGR_t5oNZ-RXoVeiksWUhZhlDofigptJC_WR48uJ3g1J-hAJaBdHOU79NRwlpdbz7vwsEssYSWNC09q-zlRnD9jXkMf3nlAekAqzvcN5dOurbz5pqWzA/s1600/%25E7%2584%25A1%25E9%25A1%258C62.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="178" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWN9Fyiq8F_brGNyyevu8gCeRMGR_t5oNZ-RXoVeiksWUhZhlDofigptJC_WR48uJ3g1J-hAJaBdHOU79NRwlpdbz7vwsEssYSWNC09q-zlRnD9jXkMf3nlAekAqzvcN5dOurbz5pqWzA/s640/%25E7%2584%25A1%25E9%25A1%258C62.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">インポート完了です。</td></tr>
</tbody></table>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<h3>
3.ユニティちゃんと他必要な物を配置</h3>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHjsNsHmDmKIi-tzaqvTkQz1OD4WGfe8eljVzpIWu8TT30ObT1igz9JxiGz9WWSq0Dd5pM3SKbNzcOzia7ZBVHQFA5dexzinvhFEIBMAiVFVH2Ketc2XiwhcbIw0xm8eejxJlX33scToo/s1600/%25E7%2584%25A1%25E9%25A1%258C61.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="410" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHjsNsHmDmKIi-tzaqvTkQz1OD4WGfe8eljVzpIWu8TT30ObT1igz9JxiGz9WWSq0Dd5pM3SKbNzcOzia7ZBVHQFA5dexzinvhFEIBMAiVFVH2Ketc2XiwhcbIw0xm8eejxJlX33scToo/s640/%25E7%2584%25A1%25E9%25A1%258C61.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: 12.8px;">1.まずはプロジェクトからUnityChan/Prefabs/for Locomotionを見つける。</span><br />
2.<u>最初からヒエラルキー上にMainCameraが配置されている場合は</u>削除しておきます。<br />
3.<span style="font-size: 12.8px;">UnityChan/Prefabs/for Locomotion/にある</span><span style="font-size: 12.8px;">MainCameraをヒエラルキーにドラッグアンドドロップします。</span><br />
<span style="font-size: 12.8px;">4.次</span><span style="font-size: 12.8px;">に3.と同じ位置にある</span>unitychan_dynamic_locomotion<span style="font-size: 12.8px;">をヒエラルキーにドラッグアンドドロップします。</span></td></tr>
</tbody></table>
<br />
<div style="font-size: 12.8px; text-align: center;">
図がゴチャゴチャしてて申し訳ないです。。</div>
<div>
<br /></div>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfeKLDsHfT1qOYe_PhyphenhyphentScQs59JSv4k4VhB-SalTmwNlzzM_Vm2EDJfwQJlO7WxS6IgAJbDbS3Wg2G_FyXUzkcfsPqWSQ1H23qVR66lNbVx11Xaxoq0CqH0ts_ORxomIwH8IFabIBu1qE/s1600/%25E7%2584%25A1%25E9%25A1%258C63.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="88" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfeKLDsHfT1qOYe_PhyphenhyphentScQs59JSv4k4VhB-SalTmwNlzzM_Vm2EDJfwQJlO7WxS6IgAJbDbS3Wg2G_FyXUzkcfsPqWSQ1H23qVR66lNbVx11Xaxoq0CqH0ts_ORxomIwH8IFabIBu1qE/s640/%25E7%2584%25A1%25E9%25A1%258C63.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><br />
<span style="font-size: 12.8px;">配置が終わったユニティちゃんのTransformの</span><br />
<u>Position<span style="font-size: 12.8px;">(位置)とRotation(回転)</span></u><span style="font-size: 12.8px;"><u>を X:0 Y:0 Z:0 </u><br />Main Cameraの</span><span style="font-size: 12.8px;">Transformの<br /><u>Position</u></span><span style="font-size: 12.8px; text-decoration: underline;">(位置)を</span><span style="font-size: 12.8px; text-decoration: underline;">X:-0.1 Y:1.3 Z:-2、</span><span style="font-size: 12.8px; text-decoration: underline;">Rotation(回転)</span><span style="font-size: 12.8px;"><u>をX:14.5 Y:0 Z:0</u><br />にします。</span></td></tr>
</tbody></table>
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJiSgYlUxYNqFAj3l4BsT7gT1cJ9HJjAX89CjNtUpiXSbELVLxrOJX4B9qDvfvMTqpkLjUIq-hXr0F6ueIRfcfRcMDGWzs8MGTB40aCQMZMDhPNUdN-hN0etG6-gAYcRgUa7kkhdNzdio/s1600/%25E7%2584%25A1%25E9%25A1%258C64.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="404" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJiSgYlUxYNqFAj3l4BsT7gT1cJ9HJjAX89CjNtUpiXSbELVLxrOJX4B9qDvfvMTqpkLjUIq-hXr0F6ueIRfcfRcMDGWzs8MGTB40aCQMZMDhPNUdN-hN0etG6-gAYcRgUa7kkhdNzdio/s640/%25E7%2584%25A1%25E9%25A1%258C64.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">こんな感じになればOKです。</td></tr>
</tbody></table>
<br />
<b><span style="font-size: large;">シーンを再生してみると分かりますが、このままだとユニティちゃんが奈落に落ちていってしまいます。</span></b><br />
<b><span style="font-size: large;"><br /></span></b>
<b><span style="font-size: large;">床がないから!</span></b><br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEidR4aFUDoGEgJl0agq9rHONFqfNhT1yZ4eMS2cUCiIlrKloud80pPWNAETDP02v8IGZoa78IkIYSUvAQ2ZQC0qCBJW0O3BshlTp_3MQ0Xo37OXlmGO6yf6qWbRu5jFFRrAZ3FyktRGU/s1600/%25E7%2584%25A1%25E9%25A1%258C65.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEidR4aFUDoGEgJl0agq9rHONFqfNhT1yZ4eMS2cUCiIlrKloud80pPWNAETDP02v8IGZoa78IkIYSUvAQ2ZQC0qCBJW0O3BshlTp_3MQ0Xo37OXlmGO6yf6qWbRu5jFFRrAZ3FyktRGU/s640/%25E7%2584%25A1%25E9%25A1%258C65.png" width="426" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: start;"><span style="font-size: 12.8px;">基本的に”Rigidbodyコンポーネント”がくっついているゲームオブジェクト(ここだとユニティちゃん)は物理演算によって落下します。また、”Colliderコンポーネント”(ここだとCapsule Collider)は衝突を検出するときに使います。</span></td></tr>
</tbody></table>
<br />
<span style="font-size: large;"><b>なので床を作ります。</b></span><br />
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO3v8qCBsEJr_X3zm2DdntgQlRTC-VN6_W4gnX5dKMDwdkzAjxJrpfDM28VjEq2Pqf7ZVpx0U7ph8mfgserBU-9YMi4ACAoqA2-GcGaLJXzR3uj0VZ3WNQMg3vOPPztFWMi68IHSMVxRM/s1600/%25E7%2584%25A1%25E9%25A1%258C56.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="482" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO3v8qCBsEJr_X3zm2DdntgQlRTC-VN6_W4gnX5dKMDwdkzAjxJrpfDM28VjEq2Pqf7ZVpx0U7ph8mfgserBU-9YMi4ACAoqA2-GcGaLJXzR3uj0VZ3WNQMg3vOPPztFWMi68IHSMVxRM/s640/%25E7%2584%25A1%25E9%25A1%258C56.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">GameObjectメニューからPlaneを作ります。</td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3OQLoMYHoB6-PMobMRITZNCkX3j41Pw7dEiOCvT_ykQxvIyohG072XgYnFjO_gHUy2qRRAc3HIyIyfXAtrk8YY0hsvOw6inrXIp3vUPx9M-lXxLjLfJDdikHFXC_gPUda6jGKCyR0PPA/s1600/%25E7%2584%25A1%25E9%25A1%258C58.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="292" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3OQLoMYHoB6-PMobMRITZNCkX3j41Pw7dEiOCvT_ykQxvIyohG072XgYnFjO_gHUy2qRRAc3HIyIyfXAtrk8YY0hsvOw6inrXIp3vUPx9M-lXxLjLfJDdikHFXC_gPUda6jGKCyR0PPA/s640/%25E7%2584%25A1%25E9%25A1%258C58.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">平面出現</td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXJvR8QXv-7Kxa5cdIUUSwCJHIRCj5wRM0F6oJjcq0gH4SMKIPdDd1A4lS0cL0Xe0NqNNewCETwGQQP3YGPLx_T5LR-jFWjM5T6G5fIRu8wmt_cOVXrLxz_h83vLo38d4Og692cAHCEBI/s1600/%25E7%2584%25A1%25E9%25A1%258C66.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="510" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXJvR8QXv-7Kxa5cdIUUSwCJHIRCj5wRM0F6oJjcq0gH4SMKIPdDd1A4lS0cL0Xe0NqNNewCETwGQQP3YGPLx_T5LR-jFWjM5T6G5fIRu8wmt_cOVXrLxz_h83vLo38d4Og692cAHCEBI/s640/%25E7%2584%25A1%25E9%25A1%258C66.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">1.名前をPlaneからFloorに変更<br />
2.Transformを図の設定にする。</td></tr>
</tbody></table>
<br />
再生ボタンを押してみます。</div>
<div>
上手くユニティちゃんが接地していれば成功です。<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG-_NPrKHxA9GVJC-TFyXafCRwEjGKlYTmnDjHDButBfzx8tvAS_zIc2rWHT-0-jKdtDhrI4umvZpUWIYCDcJbcZBf-Ker7KztwqvdngfWkFoKQvXmM4ezPQJX8niPtrDXzFw0uVynTtc/s1600/%25E7%2584%25A1%25E9%25A1%258C67.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="588" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG-_NPrKHxA9GVJC-TFyXafCRwEjGKlYTmnDjHDButBfzx8tvAS_zIc2rWHT-0-jKdtDhrI4umvZpUWIYCDcJbcZBf-Ker7KztwqvdngfWkFoKQvXmM4ezPQJX8niPtrDXzFw0uVynTtc/s640/%25E7%2584%25A1%25E9%25A1%258C67.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
<div>
<span style="font-size: 12.8px; text-align: center;">赤枠で囲った部分は今回使わないので画面から消します。</span><br />
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCH8FFDqBL6WolCByNNzcLKpgb31xKaIFfcYpa2eZqVgbokvt-uwZm1C-rtHYyO8bz78a1eaoxvdbCGfJsky1RcO1Ak67NfCmPfTEUxgH2iNKPCeAkvm6YqfnmDxLFCSySWvLWUcg58bI/s1600/%25E7%2584%25A1%25E9%25A1%258C68.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCH8FFDqBL6WolCByNNzcLKpgb31xKaIFfcYpa2eZqVgbokvt-uwZm1C-rtHYyO8bz78a1eaoxvdbCGfJsky1RcO1Ak67NfCmPfTEUxgH2iNKPCeAkvm6YqfnmDxLFCSySWvLWUcg58bI/s640/%25E7%2584%25A1%25E9%25A1%258C68.png" width="448" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: 12.8px;">unitychan_dynamic_locomotionの”Face Updateコンポーネント”と”Random Windコンポーネント”のチェックボックスのチェックを外します。</span></td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3_P3zRfNtegCb5QQ3rqBIPCH1XZVHnnabVMizlHCPUSaUupWjGSNVSGZeosQztoVnO7QpY28N6iICA7KqOnVZoNGoF4Ux2PlBzcN-fqqYRFYGo9bTWqxQk7ue5t5y2UPHbwbwwZLbBQ8/s1600/%25E7%2584%25A1%25E9%25A1%258C69.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="454" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3_P3zRfNtegCb5QQ3rqBIPCH1XZVHnnabVMizlHCPUSaUupWjGSNVSGZeosQztoVnO7QpY28N6iICA7KqOnVZoNGoF4Ux2PlBzcN-fqqYRFYGo9bTWqxQk7ue5t5y2UPHbwbwwZLbBQ8/s640/%25E7%2584%25A1%25E9%25A1%258C69.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">すっきり。これでOKです。<br />
ちなみにざっくりユニティちゃんの操作を説明すると<br />
Wキー:前<br />
Sキー:後ろ<br />
Aキー:左<br />
Dキー:右<br />
Spaceキー:ジャンプ<br />
です。</td></tr>
</tbody></table>
<br />
<br />
<h3>
4.準備完了!</h3>
<div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLChEFcYe647Q0vsaPsKCBI4JyLzUZ7NF877tKhcbdzxvWLaNcvkgZ8mofv1dLiZ1jIaFWQBz8lOVA1Zsa8cQtVihM1KBcr01fc7dS4j28LuZm_4tdWkJMZn9QKuJNg-vfQ0YdnVI6G_g/s1600/%25E7%2584%25A1%25E9%25A1%258C70.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="390" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLChEFcYe647Q0vsaPsKCBI4JyLzUZ7NF877tKhcbdzxvWLaNcvkgZ8mofv1dLiZ1jIaFWQBz8lOVA1Zsa8cQtVihM1KBcr01fc7dS4j28LuZm_4tdWkJMZn9QKuJNg-vfQ0YdnVI6G_g/s640/%25E7%2584%25A1%25E9%25A1%258C70.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">ちょーかわいい!</td></tr>
</tbody></table>
</div>
<br />
<br />
<br />
<br />
<br />
ライセンス表記<br />
<span style="background-color: white; font-family: "hiragino maru gothic pro" , "ヒラギノ丸ゴ pro w4" , "helvetica" , "arial" , "ヒラギノ角ゴ pro w3" , "hiragino kaku gothic pro" , , "meiryo" , "ms pゴシック" , sans-serif; font-size: 19px; line-height: 32.3px; text-align: center;">© Unity Technologies Japan/UCL</span></div>
Anonymoushttp://www.blogger.com/profile/03436770783237615508noreply@blogger.com0tag:blogger.com,1999:blog-4885996718907911330.post-19931921177295636882016-04-21T01:17:00.002+09:002016-04-21T01:26:59.311+09:00PlayMakerで、まずは箱をアレコレしてみる。(5/5)どーも、今回はこんな動きを作ります。ルンバみたいな動きっぽくないですか?<br />
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1txaKpZsEtQIkJm2N_PYHXd2CiSXuW5P9rqlyNn2sZ6FkrX3P93_PHiJEHa98Th2pct5SrgMReRqP7qv4XxYdwGvNlGT1jWxygtCmZxymixmZoNDo_r7JsI9vMC8rqLjThpe-z64n-EU/s1600/20160416_005919.gif" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1txaKpZsEtQIkJm2N_PYHXd2CiSXuW5P9rqlyNn2sZ6FkrX3P93_PHiJEHa98Th2pct5SrgMReRqP7qv4XxYdwGvNlGT1jWxygtCmZxymixmZoNDo_r7JsI9vMC8rqLjThpe-z64n-EU/s400/20160416_005919.gif" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: 12.8px;">2秒移動、</span><span style="font-size: 12.8px;">1秒</span><span style="font-size: 12.8px;">回転のループ動作をする箱</span></td></tr>
</tbody></table>
<br />
<br />
<a name='more'></a><br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEin9PyOhmA3ffo7Vtdm1SgSD0A9j7nK7VK4fJ7luZf1sX8mmpM7NqygUDMzEpwtSroyfWl4qOFcpcTMijVz_NnEV15dNDQy9hme5lnAdyaYTB43cjbTqF_PoduTvhKcojhHEKosxNW7zWw/s1600/%25E7%2584%25A1%25E9%25A1%258C42.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="368" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEin9PyOhmA3ffo7Vtdm1SgSD0A9j7nK7VK4fJ7luZf1sX8mmpM7NqygUDMzEpwtSroyfWl4qOFcpcTMijVz_NnEV15dNDQy9hme5lnAdyaYTB43cjbTqF_PoduTvhKcojhHEKosxNW7zWw/s640/%25E7%2584%25A1%25E9%25A1%258C42.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
<br />
<br />
前回の”<a href="http://playmakerdeyaruo.blogspot.jp/2016/04/playmaker45.html">PlayMakerで、まずは箱をアレコレしてみる。(4/5)</a>”が終わった段階から始めます。<br />
<div>
<br />
<br />
<h3>
1.ループを作る</h3>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghxEjfDhTqX6An07tjYbPJHCZlFlMPPxa82KdxCn20SSnsjj9JHMdlbPazD7_EjX_P4YPgKYfT0ElFmnE9bj35ZGyrsDp8jpzDDpifm_6R8YJqz9KKgmlMJUOxtODdyYSsP0_leb50554/s1600/%25E7%2584%25A1%25E9%25A1%258C42.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="368" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghxEjfDhTqX6An07tjYbPJHCZlFlMPPxa82KdxCn20SSnsjj9JHMdlbPazD7_EjX_P4YPgKYfT0ElFmnE9bj35ZGyrsDp8jpzDDpifm_6R8YJqz9KKgmlMJUOxtODdyYSsP0_leb50554/s640/%25E7%2584%25A1%25E9%25A1%258C42.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Rotateステートの説明欄に”1秒間待つ”を加えます。</td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjeXXk_1Uuj6rAiaOTkBfJSS-UMMatLPf-OIvpqpED4VJhXRY1LjZytliquwlPay15z2m8v_f3YBJ4E0bM5mBmV_zP1R7W_ZMc_TjC-GP5OiZFZ15Mj6JEkcB6IX_k-ugq07Xg7XjnI08/s1600/%25E7%2584%25A1%25E9%25A1%258C43.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="432" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjeXXk_1Uuj6rAiaOTkBfJSS-UMMatLPf-OIvpqpED4VJhXRY1LjZytliquwlPay15z2m8v_f3YBJ4E0bM5mBmV_zP1R7W_ZMc_TjC-GP5OiZFZ15Mj6JEkcB6IX_k-ugq07Xg7XjnI08/s640/%25E7%2584%25A1%25E9%25A1%258C43.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: 12.8px;">Rotateステートに</span>Waitアクションを追加。<br />
Timeは1秒にします。</td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbcGEtHEVzHOSXuwLULqXzmehnP0Q8BMKKU3EaH_B-Rd4_6xnJ6Nc3yb1C6BvlFDUmWRdfLEdkm3u7k2bOZAFMxVLlfs1xHWOTNC5ObGmjwT7nYNVtZgUK3lLtOL3lV3eadehiGQ2ieJI/s1600/%25E7%2584%25A1%25E9%25A1%258C44.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="592" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbcGEtHEVzHOSXuwLULqXzmehnP0Q8BMKKU3EaH_B-Rd4_6xnJ6Nc3yb1C6BvlFDUmWRdfLEdkm3u7k2bOZAFMxVLlfs1xHWOTNC5ObGmjwT7nYNVtZgUK3lLtOL3lV3eadehiGQ2ieJI/s640/%25E7%2584%25A1%25E9%25A1%258C44.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Rotateステートの条件にFINISHEDを追加します。</td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJWvkvc2yew53DtjLlwTxYkT_8n8LpZzyawGfUZVEORPAys9ep_HMSgZqVcGy4fm4S4fXMvb-ifeueKPk1m115Jo3bj8F_-tdGOk4cyncrohkjRLhuY07zDWuLAV5sB5FyMu3-Ii6Mt78/s1600/%25E7%2584%25A1%25E9%25A1%258C45.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJWvkvc2yew53DtjLlwTxYkT_8n8LpZzyawGfUZVEORPAys9ep_HMSgZqVcGy4fm4S4fXMvb-ifeueKPk1m115Jo3bj8F_-tdGOk4cyncrohkjRLhuY07zDWuLAV5sB5FyMu3-Ii6Mt78/s640/%25E7%2584%25A1%25E9%25A1%258C45.png" width="636" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="color: red;">赤丸1</span>から<span style="color: red;">赤丸2</span>をドラッグアンドドロップして矢印を繋ぎます。</td></tr>
</tbody></table>
<br />
<div style="text-align: right;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHagK9jue7gTC0m9Ib4BHukDO_KMyZW_lSR2N2WBxKreg-YE61oQ0KK3J3o_p8dGQVWSnkGZkuSy52b6HjD55MMosxkgsRdulIOmXPE3FTp16fSHIgEhivZ0sM4FTJUrtyxpJPvOhSCFk/s1600/%25E7%2584%25A1%25E9%25A1%258C47.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="374" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHagK9jue7gTC0m9Ib4BHukDO_KMyZW_lSR2N2WBxKreg-YE61oQ0KK3J3o_p8dGQVWSnkGZkuSy52b6HjD55MMosxkgsRdulIOmXPE3FTp16fSHIgEhivZ0sM4FTJUrtyxpJPvOhSCFk/s640/%25E7%2584%25A1%25E9%25A1%258C47.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: 12.8px;">RotateステートのWaitアクションのFinish EventをFINISHEDに設定します。</span></td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggeZZamwGuwx9m8TBScSZMK4SO2q2cvVniZnycUYdw591__rnIeIHchryBiG36AKOwwt4Cu6_STk93VZ9H77UY9m9p-L7Qdp9Wita1-f1U3WYMo93xM2JgDw9AuTdWaHMrWj0q7TLw8IY/s1600/%25E7%2584%25A1%25E9%25A1%258C46.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggeZZamwGuwx9m8TBScSZMK4SO2q2cvVniZnycUYdw591__rnIeIHchryBiG36AKOwwt4Cu6_STk93VZ9H77UY9m9p-L7Qdp9Wita1-f1U3WYMo93xM2JgDw9AuTdWaHMrWj0q7TLw8IY/s640/%25E7%2584%25A1%25E9%25A1%258C46.png" width="552" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">ループが完成しました!<span style="font-size: 12.8px;">これで</span><span style="font-size: 12.8px;">TranslateステートとRotateステートをグルグル回ります。</span></td></tr>
</tbody></table>
<br />
<br />
<h3>
<br />2.完成!</h3>
お疲れ様でした!<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaW8pDVoBjVAD-qDaXD07DNFuOyOpjBQwvWiCKx-frUcEJEgm2xft8XUcMR04WOpr6G2cNU64oR8_Uo3mQuOwcWqlnrykOV5Vo-6Pi-8dblQe7UYnUhwa-4xrGmSzLWppmbL9VCih221E/s1600/%25E7%2584%25A1%25E9%25A1%258C49.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="358" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaW8pDVoBjVAD-qDaXD07DNFuOyOpjBQwvWiCKx-frUcEJEgm2xft8XUcMR04WOpr6G2cNU64oR8_Uo3mQuOwcWqlnrykOV5Vo-6Pi-8dblQe7UYnUhwa-4xrGmSzLWppmbL9VCih221E/s640/%25E7%2584%25A1%25E9%25A1%258C49.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
<br />
<br /></div>
Anonymoushttp://www.blogger.com/profile/03436770783237615508noreply@blogger.com0tag:blogger.com,1999:blog-4885996718907911330.post-92140910199699205602016-04-19T01:29:00.000+09:002016-04-19T01:38:45.912+09:00PlayMakerで、まずは箱をアレコレしてみる。(4/5)今回は作るのはこれ!2秒移動した後回転する動きです。<br />
ステートを繋ぐのは楽しいですよ!!<br />
<div>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0ZHiqUj9Z3DZD2eAjwHe-TjuUPnm3zDbKlpEKilkqyc6Uxl2Dy10VVbzBaLdM_YBJQRtCpp2-zcEX1rmYJj6XmaxbwnDfz8mrGdgNwkis8FvOIDzylPieU5tTQEXkn3mYb76rE587XEE/s1600/20160416_005434.gif" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0ZHiqUj9Z3DZD2eAjwHe-TjuUPnm3zDbKlpEKilkqyc6Uxl2Dy10VVbzBaLdM_YBJQRtCpp2-zcEX1rmYJj6XmaxbwnDfz8mrGdgNwkis8FvOIDzylPieU5tTQEXkn3mYb76rE587XEE/s400/20160416_005434.gif" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
<br />
<br />
<a name='more'></a>今回はState(ステート)をもう一つ作って2つの動作を組み合わせます。</div>
<div>
<br /></div>
<h3>
1.State2を作る</h3>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLQ0Gjj8mg_qBClJi26xN5CYG4trbqktpU0KMrIMgtI9j4mkWjF2bDgGePZuCVbnzmhAa6BLMH2jlK-AxtUAcRlAcKdG180hqi8inbR9xQK7qXH1v1CLhoztqxllY39jteciizQ45xyGE/s1600/%25E7%2584%25A1%25E9%25A1%258C22.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLQ0Gjj8mg_qBClJi26xN5CYG4trbqktpU0KMrIMgtI9j4mkWjF2bDgGePZuCVbnzmhAa6BLMH2jlK-AxtUAcRlAcKdG180hqi8inbR9xQK7qXH1v1CLhoztqxllY39jteciizQ45xyGE/s640/%25E7%2584%25A1%25E9%25A1%258C22.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">例のごとく、ここまで省略</td></tr>
</tbody></table>
<div>
<br /></div>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDLMkc3I8gdj9kyDOFyQ6_ywepy1p1ShYj_XPAJHqhsZFp60GLPUfqxgGjJAcK5-d1YfAOGvVLQnLv7H_UIBcL2V_fUSMiaScnYyexdT57F9wvRI5i954RksmVOVftVrDoVQUU4Ti_9tk/s1600/%25E7%2584%25A1%25E9%25A1%258C25.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="442" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDLMkc3I8gdj9kyDOFyQ6_ywepy1p1ShYj_XPAJHqhsZFp60GLPUfqxgGjJAcK5-d1YfAOGvVLQnLv7H_UIBcL2V_fUSMiaScnYyexdT57F9wvRI5i954RksmVOVftVrDoVQUU4Ti_9tk/s640/%25E7%2584%25A1%25E9%25A1%258C25.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">なにもないグレーの部分で右クリック。Add Stateを選択します。</td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivh4rmxrrpV6lDmCr3iRxHB8mzlRbrYoJVw2mMvdBG5yB95pRPcOaDgZ4E6Bby0jf4Ik92UKGZzwcxVXLnJdlZP-4JyDxa-DHQHI6QpN_WQrwnMQnOslDZPRqpGlQU1C7xaK_G8AW6-fc/s1600/%25E7%2584%25A1%25E9%25A1%258C26.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="432" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivh4rmxrrpV6lDmCr3iRxHB8mzlRbrYoJVw2mMvdBG5yB95pRPcOaDgZ4E6Bby0jf4Ik92UKGZzwcxVXLnJdlZP-4JyDxa-DHQHI6QpN_WQrwnMQnOslDZPRqpGlQU1C7xaK_G8AW6-fc/s640/%25E7%2584%25A1%25E9%25A1%258C26.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">State2が出来ました!</td></tr>
</tbody></table>
<br />
<h3>
2.State(ステート)の名前を変更する</h3>
<div>
State1は移動のアクション、State2は回転のアクションを設定するので、</div>
State(ステート)の中身を分かりやすくするために名前を付けていきましょう。<br />
<div>
<br /></div>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwNLrwlErKuLgFzm6PaKYj1Nu9TRHwk3w_v9dtNPeZGZqQsPgs4lI4gt3XDhHxO7q4KeZnpl39seZV-chxk_7NB2-zG6xttFwJYLoqWQZ-9996VZ4h7BH7_8HJtBiztlM9wyBhvO5Sreo/s1600/%25E7%2584%25A1%25E9%25A1%258C27.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="260" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwNLrwlErKuLgFzm6PaKYj1Nu9TRHwk3w_v9dtNPeZGZqQsPgs4lI4gt3XDhHxO7q4KeZnpl39seZV-chxk_7NB2-zG6xttFwJYLoqWQZ-9996VZ4h7BH7_8HJtBiztlM9wyBhvO5Sreo/s400/%25E7%2584%25A1%25E9%25A1%258C27.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="color: red;">名前を付けなかった場合、どこの場所に目当ての動きがあるのか分かりにくくなります。</span></td></tr>
</tbody></table>
<br />
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1XNfXdOAq0DPpWCNsqhlU4AVtTUS_sgdOtet6ydef5nBAeMlv9oxFuzVmxo2PJ8tGm1J_j4mMZtF73QzpGDCtqAeWLzFauchjSJB53l-OCK3Unc2WJRn8wpv-Fb32jr4HTOm80ZmOBMg/s1600/%25E7%2584%25A1%25E9%25A1%258C28.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="412" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1XNfXdOAq0DPpWCNsqhlU4AVtTUS_sgdOtet6ydef5nBAeMlv9oxFuzVmxo2PJ8tGm1J_j4mMZtF73QzpGDCtqAeWLzFauchjSJB53l-OCK3Unc2WJRn8wpv-Fb32jr4HTOm80ZmOBMg/s640/%25E7%2584%25A1%25E9%25A1%258C28.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: 12.8px;">1.Stateインスペクターを選択</span><br />
<span style="font-size: 12.8px;">2.State1という文字が入っていたところに"Translate"(自分が理解出来れば好きな文字でもOKです。)</span><br />
<span style="font-size: 12.8px;">3.3番の欄は説明欄です。ステートの中のアクションについて書くといいかもしれません。(例)・移動・2秒待つ</span></td></tr>
</tbody></table>
State2にもState1と同様にState名、説明欄の設定を行います。<br />
<div>
(例)State名:Rotate<br />
説明欄:回転<br />
<br />
<br />
<br />
<h3>
2.Translateステートにアクションを付ける</h3>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1rWQInOe7xXvB24-k2c8ZCAQxd0UhWceHKki8g6mTqq-C-IBvLREv8nKbES6HEh5Ymxl3fkZFHf47yheG35EClYQ4A22i267pXCb4mUnkTmDZSir8h_jSRYw3gSjdSnVawLTeUeHXhis/s1600/%25E7%2584%25A1%25E9%25A1%258C30.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1rWQInOe7xXvB24-k2c8ZCAQxd0UhWceHKki8g6mTqq-C-IBvLREv8nKbES6HEh5Ymxl3fkZFHf47yheG35EClYQ4A22i267pXCb4mUnkTmDZSir8h_jSRYw3gSjdSnVawLTeUeHXhis/s400/%25E7%2584%25A1%25E9%25A1%258C30.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: 12.8px;">Translateアクションを付けてください。</span></td></tr>
</tbody></table>
<br />
設定は”<a href="http://playmakerdeyaruo.blogspot.jp/2016/04/playmaker35.html#more">PlayMakerで、まずは箱をアレコレしてみる。(3/5)</a>”を参照してください。<br />
<br />
<br />
<br />
<span style="font-size: 12.8px; text-align: center;">次に</span><span style="font-size: 12.8px; text-align: center;">”</span><span style="font-size: 12.8px; text-align: center;">2秒待つ”と</span><span style="font-size: 12.8px; text-align: center;">いうアクションを付けます。</span><br />
<span style="font-size: 12.8px; text-align: center;"><br /></span>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSmaUAN1NPYNZ8N6_-IM8Hi8rKaMBql53BSG0icbOaV74pL7FEmpX54NJVlXAZfgN4wAhXFVww2_2n0FDao-tgZtB1Bs0PeUwy2aNfOZiVBg8SKYS1RSyG67IiFilTFqCUkiLKzx3hmys/s1600/%25E7%2584%25A1%25E9%25A1%258C32.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="356" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSmaUAN1NPYNZ8N6_-IM8Hi8rKaMBql53BSG0icbOaV74pL7FEmpX54NJVlXAZfgN4wAhXFVww2_2n0FDao-tgZtB1Bs0PeUwy2aNfOZiVBg8SKYS1RSyG67IiFilTFqCUkiLKzx3hmys/s640/%25E7%2584%25A1%25E9%25A1%258C32.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: 12.8px;">1.アクションブラウザをクリック</span><br />
2.Timeのアクション郡を探す。Timeは時間関係のアクションが集まっています。<br />
3.その中からWaitを選択<br />
4.Add Action To State(ステートにアクションを追加)をクリック</td></tr>
</tbody></table>
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHnryxPnz9ljXDyqEJIS4wO9kRnV0u3fg_M_5GYd1fyQig56QgEDb1R0Lz3yzZltRe8FQqYykQfT0O2JHDxWiSY0jxjUqRs-skW4V2QnRVxTNUEf3LRfqPnD4jrjgaSu_u8M0x26w_VyY/s1600/%25E7%2584%25A1%25E9%25A1%258C33.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHnryxPnz9ljXDyqEJIS4wO9kRnV0u3fg_M_5GYd1fyQig56QgEDb1R0Lz3yzZltRe8FQqYykQfT0O2JHDxWiSY0jxjUqRs-skW4V2QnRVxTNUEf3LRfqPnD4jrjgaSu_u8M0x26w_VyY/s640/%25E7%2584%25A1%25E9%25A1%258C33.png" width="422" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Timeの設定を”2”にします。この数値は待つ時間を示します。</td></tr>
</tbody></table>
<br />
<br />
<h3>
3.Rotateステートにアクションを付ける</h3>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4FANnQtmz9SF3CHegMRvx-efqYNPJPyF0-YhBcfFANZYC8cl047U5Z5a-AJTcL4GsVwvrPKHQGyhN42eMaIIAdEujsbTnN-IXie3GB9ubtwzphCi6NbVe5LRkruCDgUp-xDzDqYkYqFg/s1600/%25E7%2584%25A1%25E9%25A1%258C31.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="238" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4FANnQtmz9SF3CHegMRvx-efqYNPJPyF0-YhBcfFANZYC8cl047U5Z5a-AJTcL4GsVwvrPKHQGyhN42eMaIIAdEujsbTnN-IXie3GB9ubtwzphCi6NbVe5LRkruCDgUp-xDzDqYkYqFg/s400/%25E7%2584%25A1%25E9%25A1%258C31.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Rotateアクションを付けてください。</td></tr>
</tbody></table>
設定は”<a href="http://playmakerdeyaruo.blogspot.jp/2016/04/playmaker25.html#more">PlayMakerで、まずは箱をアレコレしてみる。(2/5)</a>”を参照してください。<br />
<h3>
<br />3.ステートを繋げる</h3>
<div>
PlayMakerの目玉機能です!</div>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdlsqfcaUZyRyN3aTUQdO2JPd59nCTumZ4OKg9RfCt5oZN3RbhiL6-irQ7WIdSpIptBnJk7U0W7FlxRK4naWfsokOetj542G5COIGSUCoBm9qWYHtD80LAv1PMXXaCS7fgoGdNRi4hgb8/s1600/%25E7%2584%25A1%25E9%25A1%258C29.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="440" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdlsqfcaUZyRyN3aTUQdO2JPd59nCTumZ4OKg9RfCt5oZN3RbhiL6-irQ7WIdSpIptBnJk7U0W7FlxRK4naWfsokOetj542G5COIGSUCoBm9qWYHtD80LAv1PMXXaCS7fgoGdNRi4hgb8/s640/%25E7%2584%25A1%25E9%25A1%258C29.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">1.Translateステートを右クリック<br />
2.<span style="font-size: 12.8px;">Add Transitionを選択。ステートが次のステートに移行するための条件を追加するメニューです。</span><br />
3.FINISHEDをクリック。FINISHEDは”(アクションが)終了したら”という条件です。</td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY9uIMSXsTGnTxQz0bmYkib_hxHDUwnZEmEXDs0lyZL4KSrSD1mZt404UM8nNU-Oyy1k9rc0K5FzJQAN1f9OIgR3A3C4MLziOfl4pHqtCqrr3_KgYpjEvlMNjnHHvbJmU0annUiqgq904/s1600/%25E7%2584%25A1%25E9%25A1%258C34.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="542" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY9uIMSXsTGnTxQz0bmYkib_hxHDUwnZEmEXDs0lyZL4KSrSD1mZt404UM8nNU-Oyy1k9rc0K5FzJQAN1f9OIgR3A3C4MLziOfl4pHqtCqrr3_KgYpjEvlMNjnHHvbJmU0annUiqgq904/s640/%25E7%2584%25A1%25E9%25A1%258C34.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">FINISHEDを追加するとビックリマークが出るはずです。<br />
赤枠で囲ったボタンを押すとエラー内容が出ますので確認してみましょう。<br />
エラー内容:遷移先のステートが無いよ!(意訳)</td></tr>
</tbody></table>
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyWeFy4oYW4nhO7ULyKff-BqgnzNXiyeN68Zuhdi-zgcbeuzfKnTGeOog0Rko07yv-H5NdcgSVZIG6XQI1WoUH_-CN2h7HKeNB9H6_JyOYuPJkQFZHaNz7MrO80mTrck5ZED8itdbTzrI/s1600/%25E7%2584%25A1%25E9%25A1%258C35.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyWeFy4oYW4nhO7ULyKff-BqgnzNXiyeN68Zuhdi-zgcbeuzfKnTGeOog0Rko07yv-H5NdcgSVZIG6XQI1WoUH_-CN2h7HKeNB9H6_JyOYuPJkQFZHaNz7MrO80mTrck5ZED8itdbTzrI/s640/%25E7%2584%25A1%25E9%25A1%258C35.png" width="500" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">ですので、遷移先を指定しましょう。<br />
<span style="color: red;">赤丸1</span>から<span style="color: red;">赤丸2</span>にドラッグアンドドロップします。<br />
慣れないとちょっと難しいです。<br />
<br /></td></tr>
</tbody></table>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-yX1aXA1r14wxe5bZ912LqieW-YNkbYt93b0OCWUcY0uqJLAix9H2sPefqko0mXF_rXmAnOdEtR2SAB1tLBF3FErT4lVUflZiBq_qsFV6MxXFJQGb7YgGDY5MN-UAARYgmlp9Ms5_j-k/s1600/%25E7%2584%25A1%25E9%25A1%258C36.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-yX1aXA1r14wxe5bZ912LqieW-YNkbYt93b0OCWUcY0uqJLAix9H2sPefqko0mXF_rXmAnOdEtR2SAB1tLBF3FErT4lVUflZiBq_qsFV6MxXFJQGb7YgGDY5MN-UAARYgmlp9Ms5_j-k/s320/%25E7%2584%25A1%25E9%25A1%258C36.png" width="271" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">これでステートが繋がりました!</td></tr>
</tbody></table>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<br />
<br />
<div>
<h3>
4.完成!ではありません!</h3>
</div>
</div>
<div>
<br /></div>
<div>
このまま再生ボタンを押すと分かるのですがTranslateステートからRotateステートに遷移しません。</div>
<div>
理由はTranslateステートに付いているWaitアクションに対して2秒間待った後、どうするのかを設定していないからです。</div>
<div>
<br /></div>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYABroXiHGxijRDhnZLj0bbvXfzz8ohdzr3GgsqltGXGQCN4WwO0vfDrqDPwVVG2zB9lB9S5boVHNZCHErl7Lm2a4VLuGq11mt-0GXCXVvtIMpxkzw9ZjnYbG4em4SJ_l6Xc0VMg_R7Qk/s1600/%25E7%2584%25A1%25E9%25A1%258C37.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="390" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYABroXiHGxijRDhnZLj0bbvXfzz8ohdzr3GgsqltGXGQCN4WwO0vfDrqDPwVVG2zB9lB9S5boVHNZCHErl7Lm2a4VLuGq11mt-0GXCXVvtIMpxkzw9ZjnYbG4em4SJ_l6Xc0VMg_R7Qk/s640/%25E7%2584%25A1%25E9%25A1%258C37.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: 12.8px;">1.Finish Eventをクリック</span><br />
2.Noneの下に”FINISHED”があるので選択<br />
これで2秒待った後に遷移条件であるFINISHEDからRotateステートに遷移します。</td></tr>
</tbody></table>
<br />
<h3>
5.完成!</h3>
<div>
お疲れ様でした!<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz63xK6r1ZxOjWVlRgIAM1P7_mxnR70Fli34vmRYJnS5BinuyvMNrwT09aS8sWAnZuDcwQl3nI6hN4JJ1QwbTxQ88ODTYmF2htfNpdcQ4fu9Hymz8YPPYiy85mY3aczEZwFuTgWQE-7Xw/s1600/%25E7%2584%25A1%25E9%25A1%258C40.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="392" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz63xK6r1ZxOjWVlRgIAM1P7_mxnR70Fli34vmRYJnS5BinuyvMNrwT09aS8sWAnZuDcwQl3nI6hN4JJ1QwbTxQ88ODTYmF2htfNpdcQ4fu9Hymz8YPPYiy85mY3aczEZwFuTgWQE-7Xw/s640/%25E7%2584%25A1%25E9%25A1%258C40.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
<br /></div>
<div>
<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br /></div>
Anonymoushttp://www.blogger.com/profile/03436770783237615508noreply@blogger.com0tag:blogger.com,1999:blog-4885996718907911330.post-3374403999448444742016-04-17T19:50:00.000+09:002016-04-17T19:54:16.459+09:00PlayMakerで、まずは箱をアレコレしてみる。(3/5)今日は移動し続ける箱を作っていきます!<br />
<div>
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlqeJwYJG045pHBkn6FSSqE1PLtuIu5gXOunGhMwUcwFoQM4Cd-MOq3RICeLhw8x8iH1QNNgEoz4jNfX2rLmqbcTqcp-NGOS0v8gtUJFd5tUFz9T69f0tECyKJuOFTU6uaaqqCGXFU4cs/s1600/20160416_005039.gif" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="275" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlqeJwYJG045pHBkn6FSSqE1PLtuIu5gXOunGhMwUcwFoQM4Cd-MOq3RICeLhw8x8iH1QNNgEoz4jNfX2rLmqbcTqcp-NGOS0v8gtUJFd5tUFz9T69f0tECyKJuOFTU6uaaqqCGXFU4cs/s320/20160416_005039.gif" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">gifだとループして元の位置に戻ってしまっていますが実際は箱はX方向に移動し続けます。</td></tr>
</tbody></table>
<a name='more'></a><br />
今回から<a href="http://playmakerdeyaruo.blogspot.jp/2016/04/playmaker_15.html">箱を用意する手順とPlayMakerコンポーネントを付ける手順</a>の説明を省略します。<br />
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL1uVh7ZSP_vO2J7PKztiIS7DFATjTqWvmll0Q4rkomJFYSOgINHQa-RYdZZ2ZyCOVOXxGd3TMaF94I2ngYXnmBsfMOlwFyU1NfQ5WfxP7V5rJlJDViQwz2VvDfLMVIvhBnKN82Wk1L0o/s1600/%25E7%2584%25A1%25E9%25A1%258C22.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL1uVh7ZSP_vO2J7PKztiIS7DFATjTqWvmll0Q4rkomJFYSOgINHQa-RYdZZ2ZyCOVOXxGd3TMaF94I2ngYXnmBsfMOlwFyU1NfQ5WfxP7V5rJlJDViQwz2VvDfLMVIvhBnKN82Wk1L0o/s640/%25E7%2584%25A1%25E9%25A1%258C22.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">ここまで省略します。</td></tr>
</tbody></table>
<br />
<h3>
1.State1にTranslate(位置)アクションを付ける</h3>
<div class="separator" style="clear: both; text-align: center;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbLXdQKXLppMNwTpOIbb4rrnSJU1qqcuTJea_OOY3rZG_iNZUvT325nBY7Dvh7geSol2vYKfCxPHEdQnJbKaq6HZeBxvRm2SXuPY9xvNXW15iDHPQEJXz_R55ZiB9TEdRTM1nLFc5LNZw/s1600/%25E7%2584%25A1%25E9%25A1%258C23.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbLXdQKXLppMNwTpOIbb4rrnSJU1qqcuTJea_OOY3rZG_iNZUvT325nBY7Dvh7geSol2vYKfCxPHEdQnJbKaq6HZeBxvRm2SXuPY9xvNXW15iDHPQEJXz_R55ZiB9TEdRTM1nLFc5LNZw/s640/%25E7%2584%25A1%25E9%25A1%258C23.png" width="282" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">TranslateはTransformのアクション郡の中にあります。<br />
<span style="font-size: 12.8px;">Translate</span><span style="font-size: 12.8px;">はゲームオブジェクトの位置を変えるアクションです。</span></td></tr>
</tbody></table>
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQPfkNmKtLcc90jOFHq0c4l-10Pf_sJJkklaSADVBU9El5ZZycXOpQMgYEDPhyphenhyphen1RQca7-2DehQ2VZjaWXhaH-Kmc54pLxucrma2wY5zmds3tF6kjVQW66eBulTryOAfkBsZ8isqcB7TJ0/s1600/%25E7%2584%25A1%25E9%25A1%258C24.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQPfkNmKtLcc90jOFHq0c4l-10Pf_sJJkklaSADVBU9El5ZZycXOpQMgYEDPhyphenhyphen1RQca7-2DehQ2VZjaWXhaH-Kmc54pLxucrma2wY5zmds3tF6kjVQW66eBulTryOAfkBsZ8isqcB7TJ0/s640/%25E7%2584%25A1%25E9%25A1%258C24.png" width="345" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">設定はこちら!<br />
1.今回はX軸に箱を動かしたいのでXの=ボタンをクリック。<br />
2.数値は"2"。この数値は移動量です。<br />
3.Per SecondのチェックボックスはON!</td></tr>
</tbody></table>
<br />
”X軸に毎秒移動量2移動する”のStateが完成しました。</div>
<div>
再生ボタンを押してみてください!<br />
移動方向やスピードを変えてみたい場合はXの数値を変えてください。<br />
<br />
<h3>
2.完成!</h3>
<div>
<span style="font-size: large;">お疲れ様でした!</span><br />
<span style="font-size: large;"><br /></span></div>
<br />
<br />
<br />
<br /></div>
Anonymoushttp://www.blogger.com/profile/03436770783237615508noreply@blogger.com0tag:blogger.com,1999:blog-4885996718907911330.post-28760800731591399522016-04-16T21:37:00.000+09:002016-04-19T00:41:24.208+09:00PlayMakerで、まずは箱をアレコレしてみる。(2/5)まずはこの回転する箱から作ります。<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH7a15CsaTFvA_OWZjj6UD50s1Kge4y82h9GVmHRVrgx4dMyFRlOzo39TVeeaGd6zGz6Rf1is6I2RX1GkbH0G_nav2PsdcmKCcM67uzjzoEfnZtd9qxVcqOf3fBYZPy_eAdI8RZ-McsIY/s1600/20160416_003336.gif" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH7a15CsaTFvA_OWZjj6UD50s1Kge4y82h9GVmHRVrgx4dMyFRlOzo39TVeeaGd6zGz6Rf1is6I2RX1GkbH0G_nav2PsdcmKCcM67uzjzoEfnZtd9qxVcqOf3fBYZPy_eAdI8RZ-McsIY/s400/20160416_003336.gif" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
<a name='more'></a><h3>
1.<span style="font-size: 12.8px; text-align: center;">PlayMakerEditorを開く</span></h3>
<div>
<span style="font-size: 12.8px; text-align: center;"><br /></span></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB0BjhSuHtJqB8G9C4GvQAZzb_jg3tT0f_LGBuHgfq9CQmmE6q7Y8-U_6R-GyqXswGosiyNMMbR6aCb8-GTTKKTOdZx9fmlK3Mk_x4zKKPwAZj5whIE1SfuqoAmxQyK1zzOHWHVqRzwWE/s1600/%25E7%2584%25A1%25E9%25A1%258C13.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="233" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB0BjhSuHtJqB8G9C4GvQAZzb_jg3tT0f_LGBuHgfq9CQmmE6q7Y8-U_6R-GyqXswGosiyNMMbR6aCb8-GTTKKTOdZx9fmlK3Mk_x4zKKPwAZj5whIE1SfuqoAmxQyK1zzOHWHVqRzwWE/s640/%25E7%2584%25A1%25E9%25A1%258C13.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">PlayMakerの操作はメニューから開けるPlayMakerEditorから行います</td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcxph0Fq7kwOxhLmi4GSdEapHzX-nORds-eLPwNqPDYjA5Qyi5FtNFh-ZUkj7PHP0jZFiBwgjVjL9XSG1Rw-TpdKm9fj_3s6j-KjeJic3BQmT4CauyInDtjd794gFeQJf7O67iu_Mi-xA/s1600/%25E7%2584%25A1%25E9%25A1%258C14.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="371" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcxph0Fq7kwOxhLmi4GSdEapHzX-nORds-eLPwNqPDYjA5Qyi5FtNFh-ZUkj7PHP0jZFiBwgjVjL9XSG1Rw-TpdKm9fj_3s6j-KjeJic3BQmT4CauyInDtjd794gFeQJf7O67iu_Mi-xA/s640/%25E7%2584%25A1%25E9%25A1%258C14.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: 12.8px;">PlayMakerEditorを開くとこのような画面が出ます。</span><br />
<span style="color: red;"><span style="font-size: 12.8px;">(※</span><span style="font-size: 12.8px;">PlayMakerEditorを開いたと同時にPlayMakerGUIというものがインスペクターに追加されますが絶対に消さないでください!</span></span><br />
<span style="color: red;"><span style="font-size: 12.8px;">PlayMakerを動作させるのに必要なものです。</span><span style="font-size: 12.8px;">)</span></span></td></tr>
</tbody></table>
<div>
<br /></div>
<div>
<br /></div>
<div>
<div>
<h3>
2.State1(状態)の中にAction(動き)を追加する</h3>
</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0Olheo4RHjwkgjsV_IZ975kVqEAfnCbF0BG9HIJg2e4Mf0bik68H4VqWbJzMYORgvz1obQZM-NlWatkV3booNtFXzJbbrX5DHgMwmEeqXsBEURF2yqce1jf8TcVwqU1JeiXYPYFRgnzc/s1600/%25E7%2584%25A1%25E9%25A1%258C14_2.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0Olheo4RHjwkgjsV_IZ975kVqEAfnCbF0BG9HIJg2e4Mf0bik68H4VqWbJzMYORgvz1obQZM-NlWatkV3booNtFXzJbbrX5DHgMwmEeqXsBEURF2yqce1jf8TcVwqU1JeiXYPYFRgnzc/s320/%25E7%2584%25A1%25E9%25A1%258C14_2.png" width="312" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: 12.8px;">青枠で囲まれているこいつがState(ステート)です。</span></td></tr>
</tbody></table>
<br /><br /><br /><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDC4S3vBarLjSibs7I1QX0qJFRhRXi48-6REaX8XXseyAIW6izIis5zXfGVxF_5HD2LyMF7T9uNfBC83HdMc_qxOjPpx-OUWP6MTmnvJWXXYC4Ab9EZYsd3sihd4V9Sv03rwpaQ9r5seg/s1600/%25E7%2584%25A1%25E9%25A1%258C39.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="221" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDC4S3vBarLjSibs7I1QX0qJFRhRXi48-6REaX8XXseyAIW6izIis5zXfGVxF_5HD2LyMF7T9uNfBC83HdMc_qxOjPpx-OUWP6MTmnvJWXXYC4Ab9EZYsd3sihd4V9Sv03rwpaQ9r5seg/s320/%25E7%2584%25A1%25E9%25A1%258C39.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">STARTの真下のState1はシーン再生時に自動でアクションを開始します。</td></tr>
</tbody></table>
<br /><br /><div>
<br /></div>
<div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqoBCvzx015HtLoyXZaUUTodyAQs-m3P93b3L1gQiGJItritqCJR5gRy1WGO1_t0FxFsaxcQLL-A8HH79Vxva9I0eByhMoscumkdZZvqfxsS9DDe2JzjDM-lkKsIk7f6Lm5gHZaFvGSBc/s1600/%25E7%2584%25A1%25E9%25A1%258C16.png" imageanchor="1" style="margin-left: auto; margin-right: auto; text-align: center;"><img border="0" height="448" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqoBCvzx015HtLoyXZaUUTodyAQs-m3P93b3L1gQiGJItritqCJR5gRy1WGO1_t0FxFsaxcQLL-A8HH79Vxva9I0eByhMoscumkdZZvqfxsS9DDe2JzjDM-lkKsIk7f6Lm5gHZaFvGSBc/s640/%25E7%2584%25A1%25E9%25A1%258C16.png" width="640" /></a></td></tr>
<tr><td class="tr-caption">1.<span style="font-size: 12.8px;">State1を選んだ状態で</span><span style="font-size: 12.8px;">Stateインスペクターをクリック!</span><br />
2.<span style="font-size: 12.8px;">ActionBrowserをクリック!<br />3.</span><span style="font-size: 12.8px;">すると使用できるアクションがずらーっと並んだブラウザが出てきます。</span></td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJDssUP6jssijD1xJL5YtU9gIg2xYqFp41RmXwLz876dTyw21u3uiMFjb7ccsvyh4R3P51BiNRS6Ro8OnuaejdhxzX0AZmZpS_U1xveR76N1ORZq3qDL4MYSWXc-dgMYHM6e-87t_yN9M/s1600/%25E7%2584%25A1%25E9%25A1%258C17.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJDssUP6jssijD1xJL5YtU9gIg2xYqFp41RmXwLz876dTyw21u3uiMFjb7ccsvyh4R3P51BiNRS6Ro8OnuaejdhxzX0AZmZpS_U1xveR76N1ORZq3qDL4MYSWXc-dgMYHM6e-87t_yN9M/s640/%25E7%2584%25A1%25E9%25A1%258C17.png" width="215" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">その中からTransformを選んでRotateを<span style="color: red;">ダブルクリック</span><span style="color: red;">、</span><span style="color: red;">もしくは下の方にある</span><span style="color: red;">Add Action To Stateボタン</span><span style="color: red;">を押してください。</span><br />
Transformというのはゲームオブジェクトの位置、回転、スケール(大きさ)を変えるアクション郡。<br />
Rotateはゲームオブジェクトの回転を変えるアクションですね。</td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFvI6Cddvqlyhau6gqaiMyMFvhFz3PhQNRPSPfz8lhFFGvuGskS9Y8PlHK4FEQEMUUZTI4YxAUYu4sM_WjiN2TJ5SKu3-DKUMO9rUrebDJWLnlacedfeNhG2lCV2ATTL1wWQxGvikutck/s1600/%25E7%2584%25A1%25E9%25A1%258C18.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="426" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFvI6Cddvqlyhau6gqaiMyMFvhFz3PhQNRPSPfz8lhFFGvuGskS9Y8PlHK4FEQEMUUZTI4YxAUYu4sM_WjiN2TJ5SKu3-DKUMO9rUrebDJWLnlacedfeNhG2lCV2ATTL1wWQxGvikutck/s640/%25E7%2584%25A1%25E9%25A1%258C18.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">無事にアクションが追加されたかと思います。<br />
しかしこの状態だとまだ動きません。</td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8UG2gQixOJvC4wm9za8F3wpd24CWTMTlDr1rqUJmiI8T_8EbelnQttiHIX1wwgqCTzjFLhd3q8ndE_tkU-ViWqolYfLntCdRI1ptj1sbElqRDXh-WoCBw3-dxaO8A00Zqp6i6OBRx07A/s1600/%25E7%2584%25A1%25E9%25A1%258C19.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8UG2gQixOJvC4wm9za8F3wpd24CWTMTlDr1rqUJmiI8T_8EbelnQttiHIX1wwgqCTzjFLhd3q8ndE_tkU-ViWqolYfLntCdRI1ptj1sbElqRDXh-WoCBw3-dxaO8A00Zqp6i6OBRx07A/s400/%25E7%2584%25A1%25E9%25A1%258C19.png" width="258" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">1・Y Angleの横にある=ボタンをクリック<br />
2.数字を入力出来る欄が出現するのでそこに”45”(この数字は度数です)<br />
3.PerSecond(毎秒)のチェックボックスをオンにする。</td></tr>
</tbody></table>
ここまでアクションの設定で”Y軸に対して毎秒45度回転する”のStateが完成しました!<br />
早速Unityの再生ボタンを押してみましょう!</div>
<div>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicDBy6OBUK9aCS-Es3raKWtt2rxzAdLLj5zdiY53TRrkp1F-2all-nj0x_qTRCohTFrhqw0QfNys2-QK_p7YGu-sTuwzPDtriK9x7IyiM-Rdt3Zrt0tg2-U3lgmaiTfXTQci4yS-smbm8/s1600/%25E7%2584%25A1%25E9%25A1%258C20.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="253" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicDBy6OBUK9aCS-Es3raKWtt2rxzAdLLj5zdiY53TRrkp1F-2all-nj0x_qTRCohTFrhqw0QfNys2-QK_p7YGu-sTuwzPDtriK9x7IyiM-Rdt3Zrt0tg2-U3lgmaiTfXTQci4yS-smbm8/s400/%25E7%2584%25A1%25E9%25A1%258C20.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">エディターにも再生ボタンが付いてるのでそこからも再生出来ます。</td></tr>
</tbody></table>
<br />
<h3>
3.完成!</h3>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr8YlCpExsZGBH_HZ_R18VH1grIWCdJ2dscet9x4gOSrShpRILFcl2SrWZHda8FIKkD4k9UOPWvdR4F_4_WsHWidRFjJdRdj0G6JlOimoloWs82Bt0kIj5VfH015G-qc11-k6NOQ9MXDI/s1600/%25E7%2584%25A1%25E9%25A1%258C21.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="384" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr8YlCpExsZGBH_HZ_R18VH1grIWCdJ2dscet9x4gOSrShpRILFcl2SrWZHda8FIKkD4k9UOPWvdR4F_4_WsHWidRFjJdRdj0G6JlOimoloWs82Bt0kIj5VfH015G-qc11-k6NOQ9MXDI/s640/%25E7%2584%25A1%25E9%25A1%258C21.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">回転の向きやスピードを変えたい場合は設定したYAngleの数値を弄ってみてください。</td></tr>
</tbody></table>
<br /><br /><br /><div style="text-align: right;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br /></div>
</div>
Anonymoushttp://www.blogger.com/profile/03436770783237615508noreply@blogger.com0tag:blogger.com,1999:blog-4885996718907911330.post-7747179649026864932016-04-16T01:07:00.001+09:002016-04-16T20:37:31.053+09:00PlayMakerで、まずは箱をアレコレしてみる。(1/5)こんにちは。こんばんは。DIGOです。<br />
これから4つの動作を作っていきながらPlayMakerの基本的な部分を説明していこうと思います。<br />
以下が作成する動きです。<br />
<br />
<a name='more'></a><br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkL0YYTE1g2KGDgTNNojN1XUnUKcuzyR0m1Z3kJoWlIfn3Hif8ck8iawiyIS_wTPKL8ngakTTHji5bTjkksFS4eQQLXkqOt9SxbUGKOMvTymQQVthkyCUR2ORNyCSRn2xobTAARMRx8cc/s1600/20160416_003336.gif" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkL0YYTE1g2KGDgTNNojN1XUnUKcuzyR0m1Z3kJoWlIfn3Hif8ck8iawiyIS_wTPKL8ngakTTHji5bTjkksFS4eQQLXkqOt9SxbUGKOMvTymQQVthkyCUR2ORNyCSRn2xobTAARMRx8cc/s400/20160416_003336.gif" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">回転する箱</td></tr>
</tbody></table>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKbDCe8eryH8hbbzu99jCOHu2LPCa6tbKHooxVdi0RenDzep5DjN97lLZRAAPZt2WJdMtLvyMSGjBzoYGeBia4GJG3IttgW6fHsit99wqbCFkLm7W9whg4junluOvQuHaFlD0N0-K5et4/s1600/20160416_005039.gif" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKbDCe8eryH8hbbzu99jCOHu2LPCa6tbKHooxVdi0RenDzep5DjN97lLZRAAPZt2WJdMtLvyMSGjBzoYGeBia4GJG3IttgW6fHsit99wqbCFkLm7W9whg4junluOvQuHaFlD0N0-K5et4/s400/20160416_005039.gif" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">移動し続ける箱</td></tr>
</tbody></table>
<div style="text-align: left;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibEdX34UjA9wcSEYBqZngJBOaLh-6qmNqLqj9csfoz9RPr1-ZsHyajk51aDAYANoz2SHhAX9WXBDUDavrkOSStGf0aGuvVRTkHtFq5FimOL0ji4PoSVv2_2xBwJK7JQNWWwjH_IMdi0XY/s1600/20160416_005434.gif" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibEdX34UjA9wcSEYBqZngJBOaLh-6qmNqLqj9csfoz9RPr1-ZsHyajk51aDAYANoz2SHhAX9WXBDUDavrkOSStGf0aGuvVRTkHtFq5FimOL0ji4PoSVv2_2xBwJK7JQNWWwjH_IMdi0XY/s400/20160416_005434.gif" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">2秒間移動した後回転する箱</td></tr>
</tbody></table>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSybAO01cbdfMHceG10xflgFkqqmDLl0waXHdvT3X-_1iBr_ZPSNk9NF3rHdJWTuYPQWXU8L8FpNYmUvftMWT_d98I2ymQhkt4hobjf8knUsciwFIa5NWLDUA3GVdhpWUajP_V0UewbgE/s1600/20160416_005919.gif" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSybAO01cbdfMHceG10xflgFkqqmDLl0waXHdvT3X-_1iBr_ZPSNk9NF3rHdJWTuYPQWXU8L8FpNYmUvftMWT_d98I2ymQhkt4hobjf8knUsciwFIa5NWLDUA3GVdhpWUajP_V0UewbgE/s400/20160416_005919.gif" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: 12.8px;">2秒移動、</span><span style="font-size: 12.8px;">1秒</span><span style="font-size: 12.8px;">回転のループ動作をする箱</span></td></tr>
</tbody></table>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
Anonymoushttp://www.blogger.com/profile/03436770783237615508noreply@blogger.com0tag:blogger.com,1999:blog-4885996718907911330.post-710635415954182542016-04-15T23:28:00.001+09:002016-04-16T00:38:52.125+09:00PlayMakerで、まずは箱をアレコレしてみる。(準備編)ドーモ。ドクシャ=サン。DIGOです<br />
<div>
<div>
まずはPlayMakerのインポート等から解説していこうと思います。</div>
<div>
<br /></div>
<div>
<br />
<a name='more'></a><br />
<br />
<h3>
1.最初にPlayMakerをインポートする</h3>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuYTgwbqZz8ZV_iGlB0KU1SoYtlSvblliBUrbBZnJ4PCVx15wTBBzOcDAzIGZW4-69bUfl4Bbrp0bATdJReFKo2xeKNMYYSORbbbFPPeCIwPDQfubQ-5yrwoIJL4AQvGP-mUin3zLOfw0/s1600/%25E7%2584%25A1%25E9%25A1%258C3.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="504" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuYTgwbqZz8ZV_iGlB0KU1SoYtlSvblliBUrbBZnJ4PCVx15wTBBzOcDAzIGZW4-69bUfl4Bbrp0bATdJReFKo2xeKNMYYSORbbbFPPeCIwPDQfubQ-5yrwoIJL4AQvGP-mUin3zLOfw0/s640/%25E7%2584%25A1%25E9%25A1%258C3.png" width="640" /></a></td></tr>
<tr><td class="tr-caption">まずはアセットストアの<span style="color: red;">ダウンロードマネージャ</span>を開いてPlayMakerをインポートします。</td></tr>
</tbody></table>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXcYA4IsJ4IRnhLI_FDrmK9cc3OJM9zRNwlriKuhZM9h8dYNaYixMCwN78QL-EFBBEiExM3ayqcCWY8XXuHoPH-nLy7LfRhhNVTtRHSBln6t2n5_w5y8XWhuUjegichKCaIDCW9NSRxOY/s1600/%25E7%2584%25A1%25E9%25A1%258C4.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="288" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXcYA4IsJ4IRnhLI_FDrmK9cc3OJM9zRNwlriKuhZM9h8dYNaYixMCwN78QL-EFBBEiExM3ayqcCWY8XXuHoPH-nLy7LfRhhNVTtRHSBln6t2n5_w5y8XWhuUjegichKCaIDCW9NSRxOY/s640/%25E7%2584%25A1%25E9%25A1%258C4.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">するとプロジェクトビューのAssetsフォルダにPlayMakerフォルダが追加されているのが分かると思います。</td></tr>
</tbody></table>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrNCPMMFfucP0cSgvhPbfPxS-4czeSpQKSl4lteWr33RYQ5TfrS9g1U5xzZRwWkr7lpWDnV1SyW1rddYJXCEJmT-ilvhBlE7B173oNmKzl4WQPZBmop9Io4F5Za4eDzUs0kWOmMb5XlPo/s1600/%25E7%2584%25A1%25E9%25A1%258C5.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="88" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrNCPMMFfucP0cSgvhPbfPxS-4czeSpQKSl4lteWr33RYQ5TfrS9g1U5xzZRwWkr7lpWDnV1SyW1rddYJXCEJmT-ilvhBlE7B173oNmKzl4WQPZBmop9Io4F5Za4eDzUs0kWOmMb5XlPo/s640/%25E7%2584%25A1%25E9%25A1%258C5.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">またメニュー部分にもPlayMakerが追加されます。</td></tr>
</tbody></table>
<div class="separator" style="clear: both; text-align: center;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFCezPld3cWLIxTzaWIeaaigtgLlnrSHqCYqcMVNyotxh7uhuBqQim214gLbM7Flv1d5yJxe2pzhQic_qtRNBvMiB_8JUUBKd1VR5AfayUMNvftdJXZDEC5x1ZH5w4AJe92vdaD75uNCo/s1600/%25E7%2584%25A1%25E9%25A1%258C7.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="104" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFCezPld3cWLIxTzaWIeaaigtgLlnrSHqCYqcMVNyotxh7uhuBqQim214gLbM7Flv1d5yJxe2pzhQic_qtRNBvMiB_8JUUBKd1VR5AfayUMNvftdJXZDEC5x1ZH5w4AJe92vdaD75uNCo/s640/%25E7%2584%25A1%25E9%25A1%258C7.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">WelcomeScreenをクリック</td></tr>
</tbody></table>
<h3>
</h3>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwVAo7o7sQOaPx4CUHkY4uzHr-RYxVZdS73F5kuaR0JJzf0GLh_neJU33FCCnZe0g7QwYdVP8-qd6A4CortJBe0z4wzyJL8NeH9JE3tb4t9qSWhJFSThx_0YxNk-t3-6hmIBFPXiX_akE/s1600/%25E7%2584%25A1%25E9%25A1%258C8.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="292" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwVAo7o7sQOaPx4CUHkY4uzHr-RYxVZdS73F5kuaR0JJzf0GLh_neJU33FCCnZe0g7QwYdVP8-qd6A4CortJBe0z4wzyJL8NeH9JE3tb4t9qSWhJFSThx_0YxNk-t3-6hmIBFPXiX_akE/s320/%25E7%2584%25A1%25E9%25A1%258C8.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">インストールするかどうか聞いてくるので一番上をクリック</td></tr>
</tbody></table>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhju6fiCVtUG8cPz2hOWX2zU51qBuIO50_ZyPzKemjMaiLuVDGjmJyvScLivL-lnDg1yU5ABT8KL1mkShj3Qonja_vbRgrFlwQgpa_Q95B92NGHkfEVI2o5AnVdv2n44udJ6t_kHnlhO68/s1600/%25E7%2584%25A1%25E9%25A1%258C9.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="292" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhju6fiCVtUG8cPz2hOWX2zU51qBuIO50_ZyPzKemjMaiLuVDGjmJyvScLivL-lnDg1yU5ABT8KL1mkShj3Qonja_vbRgrFlwQgpa_Q95B92NGHkfEVI2o5AnVdv2n44udJ6t_kHnlhO68/s320/%25E7%2584%25A1%25E9%25A1%258C9.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">PlayMakerのバージョンをどれにするか聞いてきますが<br />
特に理由がないのであればベータ版を使う必要はないのでBETAじゃない方をクリック<br />
(変なウィンドウが出てきたらGoAheadナントカをクリック)</td></tr>
</tbody></table>
<div>
<br /></div>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU14ehKddMek4rQeMrCL_u0KOs5pyYxHo-LCJf_P_eSPf6DYL_uZ8oonbz9hgytfQ_I2V-Yn96xli2uDVg-ELlSU6lh4Zo0R-QRLXzc2wTjmfgQ7ImBN2RzEGjlZhFulKUiBexpMpsZA4/s1600/%25E7%2584%25A1%25E9%25A1%258C10.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU14ehKddMek4rQeMrCL_u0KOs5pyYxHo-LCJf_P_eSPf6DYL_uZ8oonbz9hgytfQ_I2V-Yn96xli2uDVg-ELlSU6lh4Zo0R-QRLXzc2wTjmfgQ7ImBN2RzEGjlZhFulKUiBexpMpsZA4/s320/%25E7%2584%25A1%25E9%25A1%258C10.png" width="295" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">インポートする。これでインポート終了です。</td></tr>
</tbody></table>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<h3>
2.箱を出す。</h3>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKbMNDsHvZy9K5V3Lx8QIXAKXOq61VhXAguLzQVQqZ8UP-fhffvj8uUrPfvtAapbZWuseDibcyZUORaO8piStW533W8RztOnA57pAjzPFA6VT7NGNAHwnYAEP6t0Nr5K27RNbAjzlXZYw/s1600/%25E7%2584%25A1%25E9%25A1%258C6.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="404" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKbMNDsHvZy9K5V3Lx8QIXAKXOq61VhXAguLzQVQqZ8UP-fhffvj8uUrPfvtAapbZWuseDibcyZUORaO8piStW533W8RztOnA57pAjzPFA6VT7NGNAHwnYAEP6t0Nr5K27RNbAjzlXZYw/s640/%25E7%2584%25A1%25E9%25A1%258C6.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">GameObjectメニューから3DObject→Cubeを選ぶ</td></tr>
</tbody></table>
<br />
<h3>
<br />3.箱にPlayMakerのコンポーネントを付ける </h3>
<div>
PlayMakerを使うにはまずオブジェクト(箱)にコンポーネント(箱を動かすための部品)を付けてあげる必要があります。<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuE2SlYmIvqFdBRydzguQ51PEOy2SZvvf003dXqcu2GUozYpRZm2cl4c-lVX_zw9Zm7phKQp8bggimz8XGK5pR2RAOqxF_nH40hMc45c_6g3NCvD4ALM8jwkZ4A4ZE-WxLpStyEauvJAc/s1600/%25E7%2584%25A1%25E9%25A1%258C11.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="464" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuE2SlYmIvqFdBRydzguQ51PEOy2SZvvf003dXqcu2GUozYpRZm2cl4c-lVX_zw9Zm7phKQp8bggimz8XGK5pR2RAOqxF_nH40hMc45c_6g3NCvD4ALM8jwkZ4A4ZE-WxLpStyEauvJAc/s640/%25E7%2584%25A1%25E9%25A1%258C11.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="color: red;"><u>Cubeを選んだ状態で</u></span>ComponentメニューからPlayMaker→PlayMakerFSM</td></tr>
</tbody></table>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8xOqN9Orma2ZEbT67chg2cmMJbG-EOCWYFaNCQABaFsPADPIpMiNxXOYWtcdJpCe_LSl1xp5VCq4w0vJ9rPBZbvmWBINCStSvUWHP9Mdf3HqNK8cwF7FTs2CUgcyz9TiJsoG3ivdZ6Ag/s1600/%25E7%2584%25A1%25E9%25A1%258C12.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8xOqN9Orma2ZEbT67chg2cmMJbG-EOCWYFaNCQABaFsPADPIpMiNxXOYWtcdJpCe_LSl1xp5VCq4w0vJ9rPBZbvmWBINCStSvUWHP9Mdf3HqNK8cwF7FTs2CUgcyz9TiJsoG3ivdZ6Ag/s400/%25E7%2584%25A1%25E9%25A1%258C12.png" width="267" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">するとインスペクターにPlayMakerコンポーネントが付きます。</td></tr>
</tbody></table>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<h3>
4.準備完了!</h3>
<br />
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPXC6s3AEJnWiIqPIBqOszEiPLCAKJXkDdQXueNBKMovTAIPDbcCzpRLIWN4sBU6wHGYWIopyX207xcwJbv141XcE7j3DRgz_-KbC-tQVLcohXG2gp8YTS1E-NTnXF3v_Q2I5vY3N0G3o/s1600/l2475.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="185" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPXC6s3AEJnWiIqPIBqOszEiPLCAKJXkDdQXueNBKMovTAIPDbcCzpRLIWN4sBU6wHGYWIopyX207xcwJbv141XcE7j3DRgz_-KbC-tQVLcohXG2gp8YTS1E-NTnXF3v_Q2I5vY3N0G3o/s400/l2475.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
<br />
<br /></div>
</div>
</div>
Anonymoushttp://www.blogger.com/profile/03436770783237615508noreply@blogger.com0tag:blogger.com,1999:blog-4885996718907911330.post-43498602107574502712016-04-01T17:35:00.000+09:002016-04-15T23:39:23.805+09:00磯野ー PlayMakerしようぜはじめまして、DIGOです。普段はUnityのプラグインであるPlayMakerを主に使ってゲームやらアプリやらを作ってます。<br />
<div>
<div>
「ゲームを作ってみたいけどプログラミングわかんないし、面倒くさそうだ。」</div>
<div>
そう思ってる方結構いるんじゃないでしょうか。</div>
<div>
PlalyMakerがあれば面倒くさいプログラミングの事とか考えずにサクサク簡単にゲームが作れてしまうんです!</div>
<div>
実際の事例ですがPlayMaker初心者でも1ヶ月足らずで横スクロールの音ゲーを作れたりして僕も驚きました。</div>
<div>
<br />
このブログはUnityの基本的な操作部分は解説しませんのでご了承ください。<br />
・プロジェクトの作成<br />
・シーンの保存<br />
・シーンビューでのオブジェクトの動かし方<br />
・シーンビューでのカメラの動かし方<br />
が分かればOKな内容にしていくつもりです。</div>
<div>
<h3>
<br />Q.PlayMakerとはなんぞや。</h3>
</div>
<div>
<br />
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjbUquYrga9YnNpW-ina4P_M-_eXQOpLGHFKf3PZtXazWqXxPCrS8_uerZQTiIT99PDjm0_LmwrS0vjEcYqijKnBI_TqGZ1LlBTv3dgqWOpblj86EvrSceTIyT66afjzaJ3DIpc4AsoUA/s1600/pm.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="263" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjbUquYrga9YnNpW-ina4P_M-_eXQOpLGHFKf3PZtXazWqXxPCrS8_uerZQTiIT99PDjm0_LmwrS0vjEcYqijKnBI_TqGZ1LlBTv3dgqWOpblj86EvrSceTIyT66afjzaJ3DIpc4AsoUA/s400/pm.png" width="400" /></a><br />
<br /></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
公式サイト<br />
<a href="http://www.hutonggames.com/">http://www.hutonggames.com/</a><br />
アセットストア<br />
<a href="https://www.assetstore.unity3d.com/jp/#!/content/368">https://www.assetstore.unity3d.com/jp/#!/content/368</a><br />
<div>
<br /></div>
HUTONG GAMES LLCが開発し、Unityのアセットストアで販売しているプラグインです。</div>
<div>
値段は通常は<u>65ドル</u>(2016/4/14現在だと7103円)。セールによってはもうちょっと安くなります。</div>
<div>
動作が入っている四角の箱を紐でどんどん繋げていってより高度な動きを作っていくのが基本になります。</div>
<div>
最近では有名なゲームメーカーのブリザードもPlayMakerを使用しているようです。<br />
<br />
<div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZh5zfJUGf3yYevQ9iN5agrwh5vCssvoLcY275D5G6gA4SJ0uhc0nN5TCUkbBnbvdFUPXA7lJXpTAyHN_UqhR2UEiFv0QrW7vYdSfd0ftEUJhRmMXElYOELcAJheRJ0DIOP4yhv12HSeM/s1600/fdas.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZh5zfJUGf3yYevQ9iN5agrwh5vCssvoLcY275D5G6gA4SJ0uhc0nN5TCUkbBnbvdFUPXA7lJXpTAyHN_UqhR2UEiFv0QrW7vYdSfd0ftEUJhRmMXElYOELcAJheRJ0DIOP4yhv12HSeM/s320/fdas.png" width="259" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">こんな感じのやつをたくさん繋いでいく</td></tr>
</tbody></table>
</div>
</div>
Anonymoushttp://www.blogger.com/profile/03436770783237615508noreply@blogger.com0