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
ExampleOfTilemap2D
Search
Cova8bitdots
October 26, 2022
Technology
0
89
ExampleOfTilemap2D
Tilemap2Dでのゲーム制作の注意点と事例紹介です
Cova8bitdots
October 26, 2022
Tweet
Share
More Decks by Cova8bitdots
See All by Cova8bitdots
Latest_Information_of_CICD_for_UnityAppWithAppleVisionPro
cova8bitdots
0
28
HandGestureTool for AppleVisionPro
cova8bitdots
0
71
NinjaGazeTyping 制作秘話
cova8bitdots
0
270
UnityとGoogleCloudFunction を連携して社内サービスを作った話
cova8bitdots
0
130
Unity-chan.Terrastal!!
cova8bitdots
0
310
unity_lt_2021_Dec.pdf
cova8bitdots
0
740
HowToUseAudioMixer
cova8bitdots
0
110
TrapOfSpriteAtlas
cova8bitdots
0
4.9k
StudyUnityFromAnti-pattern
cova8bitdots
0
2.3k
Other Decks in Technology
See All in Technology
統計データで2024年の クラウド・インフラ動向を眺める
ysknsid25
2
850
宇宙ベンチャーにおける最近の情シス取り組みについて
axelmizu
0
110
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
tomoki10
0
460
kargoの魅力について伝える
magisystem0408
0
210
KubeCon NA 2024 Recap: How to Move from Ingress to Gateway API with Minimal Hassle
ysakotch
0
210
alecthomas/kong はいいぞ / kamakura.go#7
fujiwara3
1
300
.NET 9 のパフォーマンス改善
nenonaninu
0
1k
生成AIをより賢く エンジニアのための RAG入門 - Oracle AI Jam Session #20
kutsushitaneko
4
260
バクラクのドキュメント解析技術と実データにおける課題 / layerx-ccc-winter-2024
shimacos
2
1.1k
20241214_WACATE2024冬_テスト設計技法をチョット俯瞰してみよう
kzsuzuki
3
530
Amazon Kendra GenAI Index 登場でどう変わる? 評価から学ぶ最適なRAG構成
naoki_0531
0
110
私なりのAIのご紹介 [2024年版]
qt_luigi
1
120
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
347
20k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Building Your Own Lightsaber
phodgson
103
6.1k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
Become a Pro
speakerdeck
PRO
26
5k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
RailsConf 2023
tenderlove
29
940
Into the Great Unknown - MozCon
thekraken
33
1.5k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
111
49k
Visualization
eitanlees
146
15k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Transcript
ήʔϜʹ͓͚Δ Tilemap׆༻๏
Speaker հ Who am I @8bitdots աڈͷొஃࢿྉ SpeakerDeck https://speakerdeck.com/cova8bitdots UnityLearningMaterial
https://qr.paps.jp/v5JsCE
What's Graf fi ty Graf fi ty, Inc. εϚϗ͚ARγϡʔςΟϯάότϧ ɹɹɹɹɹɹʮLeap
Triggerʯӡ༻/։ൃ CEDEC2021 Ͱฐࣾ σΟϨΫλʔ͕ొஃ͠·ͨ͠ IUUQTDFEFDDFTBPSKQTFTTJPO EFUBJMTBEDF IUUQTDFEJMDFTBPSKQDFEJM@TFTTJPOTWJFX
͡Ίʹ What’s Tilemap? ɾUnity2017͔Βಋೖ͞Εͨػೳ ɾϚοϓνοϓͱݺΕΔύʔπΛஔ͢Δ͜ͱͰεςʔδͳͲΛઃܭͰ͖ΔγεςϜ
͍ํʹ͍ͭͯ ͡Ίʹ جຊతͳ͍ํ!3ZPUB.VSPIPTIJ͞Μͷ 6OJUZ5JMFNBQղઆγϦʔζͷ2JJUBهࣄΛ͝ཡ͍ͩ͘͞ IUUQTRJJUBDPN3ZPUB.VSPIPTIJJUFNTDDEECFCGEFE
Scriptable Tile ࠓճ ɾTilemapͷػೳͷͻͱͭ ɾScriptͰঢ়گʹԠͨ͡දࣔ͢ΔλΠϧΛมߋՄೳͳΈ ɹex)ಓ࿏ɿྡλΠϧͰมߋ https://docs.unity3d.com/Manual/Tilemap-ScriptableTiles-Example.html
Scriptable Tile ࠓճ ɾTileFlags ΛͰLockTransform ʹνΣοΫΛೖΕͳ͍ͱ͍͚ͳ͍ ɹhttps://docs.unity3d.com/ScriptReference/Tilemaps.TileFlags.html ɹɾެࣜͷ `set
by brushes or the user` ͷ෦͕શ͘Θ͔Βͳ͔ͬͨ ɹɾLockTransform Λ͍Εͳ͍ͱʮScriptͰࢦఆͨ͠ํɾදࣔʯͱ ɹɹTilemap γεςϜଆͷඳըॲཧ͕ڝ߹ͯ͠ҙਤ͢Δ͖ʹͳΒͳ͍͕࣌͋Δ
2DγϡʔλʔʹԠ༻ ࠓճ ɾגࣜձࣾϛϥςΟϒ༷ఏڙΞϓϦMirrativͰ ɹϓϨΠՄೳͳLiveήʔϜͷҰͭ ɾ෦ΛԚͯ͘͠ΔఢΛ͠ͳ͕Β͓আͯ͠៉ྷʹ͍ͯ͘͠ ɹݟԼΖ͠ܕ2Dγϡʔλʔ ɾ࠷େ3ਓ·ͰͷϚϧνϓϨΠՄೳ
ϓϨΠಈը(Ωϟϓνϟ) ࠓճ
ScriptableTile ͷ͍ॴ ࠓճ ɾʮྡλΠϧͰมΘΔʯͱ͍͏Πϝʔδ ɹˠεςʔδഎܠɺಓ࿏ͳͲ͕Ұൠత ɾScriptableTile ʮಈతʹΓସΘΔʯͷ͕ϙΠϯτ ɹˠഎܠҎ֎ͷಈతཁૉʹ͑Δ ɹˠఢ͕ੜ͢ΔԚΕʹԠ༻
༨ஊͰ͕͢ ͪͳΈʹ ຊήʔϜ ɾWebGL ΛεϚϗ্Ͱಈ࡞͍ͤͯ͞Δ ɹʢެࣜʹαϙʔτର֎ڥʣ ɾAddressables ͍ͬͯΔ ɹɾগͳ͍WebGL
+ Addressables ͷήʔϜ։ൃࣄྫ ɾUniRx/ UniTaskόϦόϦ࠾༻ ɹɾͪͳΈʹWebGLͰྫ֎Λు͘ͱࢮ͵ ɹɾྫ֎Λు͚ΔΑ͏ʹ͢ΔͱύϑΥʔϚϯε͕ܶతʹԼ ɾ͓ͦΒ͘ੈքॳͷWebGL+εϚϗήʔϜͰ ɹΠϯλϥΫςΟϒϛϡʔδοΫ࣮ ɹɾٳܜΤϦΞͱότϧΤϦΞͰVertical Remix ͯ͠·͢
Tilemap2Dͷ͍ॴ ·ͱΊ 1. ؆୯ʹഎܠɾεςʔδ࡞͕Մೳ 2. Scriptable Tile ͰಈతදࣔՄೳ • Ұൠతʹεςʔδഎܠ
• ͨͩදݱ࣍ୈͰແݶͷՄೳੑ͕͋Δ 3. APIΛ͑TileͷಈతੜɾআՄೳ