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
84
ExampleOfTilemap2D
Tilemap2Dでのゲーム制作の注意点と事例紹介です
Cova8bitdots
October 26, 2022
Tweet
Share
More Decks by Cova8bitdots
See All by Cova8bitdots
Latest_Information_of_CICD_for_UnityAppWithAppleVisionPro
cova8bitdots
0
24
HandGestureTool for AppleVisionPro
cova8bitdots
0
64
NinjaGazeTyping 制作秘話
cova8bitdots
0
260
UnityとGoogleCloudFunction を連携して社内サービスを作った話
cova8bitdots
0
120
Unity-chan.Terrastal!!
cova8bitdots
0
290
unity_lt_2021_Dec.pdf
cova8bitdots
0
720
HowToUseAudioMixer
cova8bitdots
0
110
TrapOfSpriteAtlas
cova8bitdots
0
4.9k
StudyUnityFromAnti-pattern
cova8bitdots
0
2.3k
Other Decks in Technology
See All in Technology
第1回 国土交通省 データコンペ参加者向け勉強会③- Snowflake x estie編 -
estie
0
130
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
170
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
160
Lambdaと地方とコミュニティ
miu_crescent
2
370
【令和最新版】AWS Direct Connectと愉快なGWたちのおさらい
minorun365
PRO
5
750
Terraform Stacks入門 #HashiTalks
msato
0
350
Terraform未経験の御様に対してどの ように導⼊を進めていったか
tkikuchi
2
430
[CV勉強会@関東 ECCV2024 読み会] オンラインマッピング x トラッキング MapTracker: Tracking with Strided Memory Fusion for Consistent Vector HD Mapping (Chen+, ECCV24)
abemii
0
220
マルチモーダル / AI Agent / LLMOps 3つの技術トレンドで理解するLLMの今後の展望
hirosatogamo
37
12k
なぜ今 AI Agent なのか _近藤憲児
kenjikondobai
4
1.4k
データプロダクトの定義からはじめる、データコントラクト駆動なデータ基盤
chanyou0311
2
320
Lambda10周年!Lambdaは何をもたらしたか
smt7174
2
110
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
The Language of Interfaces
destraynor
154
24k
Designing Experiences People Love
moore
138
23k
Why Our Code Smells
bkeepers
PRO
334
57k
How STYLIGHT went responsive
nonsquared
95
5.2k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Producing Creativity
orderedlist
PRO
341
39k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Designing the Hi-DPI Web
ddemaree
280
34k
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ͷಈతੜɾআՄೳ