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
B2B SaaSから見た最近のC#/.NETの進化
sansantech
PRO
0
890
ISUCONに強くなるかもしれない日々の過ごしかた/Findy ISUCON 2024-11-14
fujiwara3
8
870
Making your applications cross-environment - OSCG 2024 NA
salaboy
0
190
Zennのパフォーマンスモニタリングでやっていること
ryosukeigarashi
0
150
個人でもIAM Identity Centerを使おう!(アクセス管理編)
ryder472
4
230
EventHub Startup CTO of the year 2024 ピッチ資料
eventhub
0
120
20241120_JAWS_東京_ランチタイムLT#17_AWS認定全冠の先へ
tsumita
2
300
Taming you application's environments
salaboy
0
190
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
160
OTelCol_TailSampling_and_SpanMetrics
gumamon
1
200
飲食店データの分析事例とそれを支えるデータ基盤
kimujun
0
160
AWS Media Services 最新サービスアップデート 2024
eijikominami
0
200
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
40
2.4k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Being A Developer After 40
akosma
87
590k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
A Tale of Four Properties
chriscoyier
156
23k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
A designer walks into a library…
pauljervisheath
204
24k
Practical Orchestrator
shlominoach
186
10k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
10 Git Anti Patterns You Should be Aware of
lemiorhan
655
59k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
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ͷಈతੜɾআՄೳ