Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
タイルマップ拡張のススメ / Recommendation of Unity Tilemap ...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
ruccho
November 20, 2019
Programming
3.7k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
タイルマップ拡張のススメ / Recommendation of Unity Tilemap Gotanda.unity #14
ruccho
November 20, 2019
More Decks by ruccho
See All by ruccho
Roslyn でフロー解析してみる
ruccho
0
730
WebAssemblyインタプリタを書く ~Component Modelを添えて~
ruccho
1
1.3k
URP の 2D Renderer と たわむれる
ruccho
0
23
Colonies
ruccho
0
690
Other Decks in Programming
See All in Programming
すこし踏み込む CancellationToken
htkym
2
1.7k
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
930
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.5k
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
400
カツオ、ご期待ください
suneo3476
0
160
Turning Architecture into Unit Tests in the AI Era (NSSpain XIV)
steliosf
PRO
1
140
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
140
Androidだけじゃない、DroidKaigiで広がった私の技術スタック
akkeylab
0
120
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
450
Workers Cache を知る
syumai
0
350
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
130
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
180
Featured
See All Featured
Prompt Engineering for Job Search
mfonobong
0
500
Un-Boring Meetings
codingconduct
0
450
Discover your Explorer Soul
emna__ayadi
2
1.3k
Making Projects Easy
brettharned
120
6.8k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
The SEO identity crisis: Don't let AI make you average
varn
0
580
RailsConf 2023
tenderlove
30
1.6k
Typedesign – Prime Four
hannesfritz
42
3.2k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Building Adaptive Systems
keathley
44
3.2k
How to make the Groovebox
asonas
2
2.5k
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)