Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
タイルマップ拡張のススメ / Recommendation of Unity Tilemap ...
Search
ruccho
November 20, 2019
Programming
0
3.5k
タイルマップ拡張のススメ / Recommendation of Unity Tilemap Gotanda.unity #14
ruccho
November 20, 2019
Tweet
Share
More Decks by ruccho
See All by ruccho
WebAssemblyインタプリタを書く ~Component Modelを添えて~
ruccho
1
390
URP の 2D Renderer と たわむれる
ruccho
0
4
Colonies
ruccho
0
640
Other Decks in Programming
See All in Programming
Amazon Q CLI開発で学んだAIコーディングツールの使い方
licux
3
180
Google I/O Extended Incheon 2025 ~ What's new in Android development tools
pluu
1
230
あなたとJIT, 今すぐアセンブ ル
sisshiki1969
0
230
GitHub Copilotの全体像と活用のヒント AI駆動開発の最初の一歩
74th
7
1.9k
Terraform やるなら公式スタイルガイドを読もう 〜重要項目 10選〜
hiyanger
12
2.9k
GUI操作LLMの最新動向: UI-TARSと関連論文紹介
kfujikawa
0
520
バイブコーディング超えてバイブデプロイ〜CloudflareMCPで実現する、未来のアプリケーションデリバリー〜
azukiazusa1
3
790
DataformでPythonする / dataform-de-python
snhryt
0
150
なぜ今、Terraformの本を書いたのか? - 著者陣に聞く!『Terraformではじめる実践IaC』登壇資料
fufuhu
4
410
LLMは麻雀を知らなすぎるから俺が教育してやる
po3rin
3
2k
No Install CMS戦略 〜 5年先を見据えたフロントエンド開発を考える / no_install_cms
rdlabo
0
440
Constant integer division faster than compiler-generated code
herumi
2
280
Featured
See All Featured
Fireside Chat
paigeccino
38
3.6k
How to train your dragon (web standard)
notwaldorf
96
6.2k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
21
1.4k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Raft: Consensus for Rubyists
vanstee
140
7.1k
What's in a price? How to price your products and services
michaelherold
246
12k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Transcript
るっちょ (@ruccho_vector) Gotanda.unity #14
• 趣味でゲーム制作とドット絵 • 大学1年 • ▼Unityインターハイ2016で殊勲賞のやつ「Cir」
▲「地下楼」 U-22プログラミング・コンテスト2019 経済産業省商務情報政策局長賞
None
None
None
47種類
None
• パレットからいちいち選択するのがめんどい • 用意するタイルが多くてめんどい
None
None
None
None
None
None
None
• 用意するタイルが多くてめんどい • パレットからいちいち選択するのがめんどい
None
None
Unity Tilemapは TileBaseクラスを継承して独自のタイルを定義可能。 「周辺タイルに応じて表示するスプライトを切り替えるタイル」が定義で きればいいはず
←つかえそう
タイルの座標をもとに構造体TileDataを返せばOK
←つかえそう
None
None
• 用意するタイルが多くてめんどい • パレットからいちいち選択するのがめんどい
Fang Auto Tile • 5枚のタイル素材から全隣接 パターンを自動生成 • 隣接タイルを自動接続
None
None
Scene TileBaseはScriptableObjectであり、その実体はProjectビューに存在す るアセットです。 (タイルマップ上の各タイルがTileBaseのインスタンス、ではないので注意!) タイルマップ TileBase (もしくはその派生クラス) GetTileData(position) struct TileData
TileBase (ScriptableObject) TileMap (TileData構造体の配列)
None
用意するタイルが多くてめんどい パレットからいちいち選択するのがめんどい TileBaseはScriptableObjectである
るっちょ (@ruccho_vector)