前回までは、二次元配列を使って、「0 = 壁」「1 = 床」という基準で配置を決めていきました。 今回は、そのデータをもとに、ゲームビュー上に表示をさせてみましょう。 手順①:タイルマップを準備する まずは、タイルマップを準備しましょう。 タイル ...
タイルマップでマッピングする機能があるのですが、以下のようにサイズが違うことがあって、どうすればいいのかすぐ見つからなかったので、対処方法を記載します。 問題の原因 タイルマップとスプライトのサイズが合わない主な原因は、それぞれの ...
I am currently working on a tile-based game that we will publish in few months. I am responsible on developing gameplay/game mechanics and game design. I am not sharing full source code on GitHub for ...
Check out my YouTube playlist for some examples of it in action. To test the hex tile system without importing into your own project, just open this Unity project and load up Example Content/Example ...