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
83
ExampleOfTilemap2D
Tilemap2Dでのゲーム制作の注意点と事例紹介です
Cova8bitdots
October 26, 2022
Tweet
Share
More Decks by Cova8bitdots
See All by Cova8bitdots
Latest_Information_of_CICD_for_UnityAppWithAppleVisionPro
cova8bitdots
0
21
HandGestureTool for AppleVisionPro
cova8bitdots
0
55
NinjaGazeTyping 制作秘話
cova8bitdots
0
260
UnityとGoogleCloudFunction を連携して社内サービスを作った話
cova8bitdots
0
120
Unity-chan.Terrastal!!
cova8bitdots
0
290
unity_lt_2021_Dec.pdf
cova8bitdots
0
710
HowToUseAudioMixer
cova8bitdots
0
100
TrapOfSpriteAtlas
cova8bitdots
0
4.8k
StudyUnityFromAnti-pattern
cova8bitdots
0
2.3k
Other Decks in Technology
See All in Technology
プロダクトエンジニアが活躍する環境を作りたくて 事業責任者になった話 ~プロダクトエンジニアの行き着く先~
gimupop
1
480
日経電子版におけるリアルタイムレコメンドシステム開発の事例紹介/nikkei-realtime-recommender-system
yng87
1
510
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
5
49k
ガバメントクラウド単独利用方式におけるIaC活用
techniczna
3
270
使えそうで使われないCloudHSM
maikamibayashi
0
170
コンテンツを支える 若手ゲームクリエイターの アートディレクションの事例紹介 / cagamefi-game
cyberagentdevelopers
PRO
1
130
話題のGraphRAG、その可能性と課題を理解する
hide212131
4
1.5k
【技術書典17】OpenFOAM(自宅で極める流体解析)2次元円柱まわりの流れ
kamakiri1225
0
220
20241031_AWS_生成AIハッカソン_GenMuck
tsumita
0
110
Autify Company Deck
autifyhq
1
39k
GitHub Universe: Evaluating RAG apps in GitHub Actions
pamelafox
0
180
visionOSでの空間表現実装とImmersive Video表示について / ai-immersive-visionos
cyberagentdevelopers
PRO
1
110
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Typedesign – Prime Four
hannesfritz
39
2.4k
Docker and Python
trallard
40
3.1k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
228
52k
How to Think Like a Performance Engineer
csswizardry
19
1.1k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
92
16k
Statistics for Hackers
jakevdp
796
220k
Why Our Code Smells
bkeepers
PRO
334
57k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
290
Six Lessons from altMBA
skipperchong
26
3.5k
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ͷಈతੜɾআՄೳ