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
23
HandGestureTool for AppleVisionPro
cova8bitdots
0
59
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
第23回Ques_タイミーにおけるQAチームの在り方 / QA Team in Timee
takeyaqa
0
180
サイバーセキュリティと認知バイアス:対策の隙を埋める心理学的アプローチ
shumei_ito
0
110
「 SharePoint 難しい」ってよく聞くけど、そんなに言うなら8歳の息子に試してもらった
taichinakamura
2
790
Deno+JSRでパッケージを作って公開する
askua
0
110
いざ、BSC討伐の旅
nikinusu
1
510
国土交通省 データコンペ参加者向け勉強会
takehikohashimoto
0
380
ZOZOTOWNのホーム画面をパーソナライズすることの難しさと裏話を語る
f6wbl6
1
470
Platform Engineering ことはじめ
oracle4engineer
PRO
8
800
ISUCONに強くなるかもしれない日々の過ごしかた/Findy ISUCON 2024-11-14
fujiwara3
5
330
10分でわかるfreeeのQA
freee
1
3.4k
OCI Data Integration技術情報 / ocidi_technical_jp
oracle4engineer
PRO
1
2.6k
全社横断データ活用推進のコツと その負債とのつき合い方
masatoshi0205
0
160
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
222
8.9k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
360
Intergalactic Javascript Robots from Outer Space
tanoku
268
27k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
505
140k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9k
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ͷಈతੜɾআՄೳ