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
950
URP の 2D Renderer と たわむれる
ruccho
0
10
Colonies
ruccho
0
640
Other Decks in Programming
See All in Programming
モバイルアプリからWebへの横展開を加速した話_Claude_Code_実践術.pdf
kazuyasakamoto
0
290
Go言語での実装を通して学ぶLLMファインチューニングの仕組み / fukuokago22-llm-peft
monochromegane
0
110
個人軟體時代
ethanhuang13
0
280
Microsoft Orleans, Daprのアクターモデルを使い効率的に開発、デプロイを行うためのSekibanの試行錯誤 / Sekiban: Exploring Efficient Development and Deployment with Microsoft Orleans and Dapr Actor Models
tomohisa
0
220
兎に角、コードレビュー
mitohato14
0
160
Google I/O recap web編 大分Web祭り2025
kponda
0
2.9k
🔨 小さなビルドシステムを作る
momeemt
2
630
AI時代のドメイン駆動設計-DDD実践におけるAI活用のあり方 / ddd-in-ai-era
minodriven
25
9.6k
為你自己學 Python - 冷知識篇
eddie
1
310
Langfuseと歩む生成AI活用推進
licux
3
320
Claude Codeで挑むOSSコントリビュート
eycjur
0
190
未来を拓くAI技術〜エージェント開発とAI駆動開発〜
leveragestech
2
200
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Done Done
chrislema
185
16k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Balancing Empowerment & Direction
lara
3
600
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
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)