Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ExampleOfTilemap2D

 ExampleOfTilemap2D

Tilemap2Dでのゲーム制作の注意点と事例紹介です

Cova8bitdots

October 26, 2022
Tweet

More Decks by Cova8bitdots

Other Decks in Technology

Transcript

  1. What's Graf fi ty Graf fi ty, Inc. εϚϗ޲͚ARγϡʔςΟϯάότϧ
 ɹɹɹɹɹɹʮLeap

    Triggerʯӡ༻/։ൃ CEDEC2021 Ͱ΋ฐࣾ
 σΟϨΫλʔ͕ొஃ͠·ͨ͠ IUUQTDFEFDDFTBPSKQTFTTJPO 
 EFUBJMTBEDF IUUQTDFEJMDFTBPSKQDFEJM@TFTTJPOTWJFX
  2. Scriptable Tile ࠓճ͸ ɾTileFlags ΛͰLockTransform ʹνΣοΫΛೖΕͳ͍ͱ͍͚ͳ͍ ɹhttps://docs.unity3d.com/ScriptReference/Tilemaps.TileFlags.html 
 ɹɾެࣜͷ `set

    by brushes or the user` ͷ෦෼͕શ͘Θ͔Βͳ͔ͬͨ ɹɾLockTransform Λ͍Εͳ͍ͱʮScriptͰࢦఆͨ͠ํ޲ɾදࣔʯͱ
 ɹɹTilemap γεςϜଆͷඳըॲཧ͕ڝ߹ͯ͠ҙਤ͢Δ޲͖ʹͳΒͳ͍͕࣌͋Δ
  3. ༨ஊͰ͕͢ ͪͳΈʹ ຊήʔϜ͸ 
 ɾWebGL ΛεϚϗ্Ͱಈ࡞͍ͤͯ͞Δ ɹʢެࣜʹ͸αϙʔτର৅֎؀ڥʣ ɾAddressables ΋࢖͍ͬͯΔ ɹɾ਺গͳ͍WebGL

    + Addressables ͷήʔϜ։ൃࣄྫ ɾUniRx/ UniTaskόϦόϦ࠾༻ ɹɾͪͳΈʹWebGLͰ͸ྫ֎Λు͘ͱࢮ͵ ɹɾྫ֎Λు͚ΔΑ͏ʹ͢ΔͱύϑΥʔϚϯε͕ܶతʹ௿Լ ɾ͓ͦΒ͘ੈքॳͷWebGL+εϚϗήʔϜͰ
 ɹΠϯλϥΫςΟϒϛϡʔδοΫ࣮૷ ɹɾٳܜΤϦΞͱότϧΤϦΞͰVertical Remix ͯ͠·͢
  4. Tilemap2Dͷ࢖͍ॴ ·ͱΊ 1. ؆୯ʹഎܠɾεςʔδ࡞੒͕Մೳ 2. Scriptable Tile Ͱಈతදࣔ΋Մೳ • Ұൠతʹ͸εςʔδഎܠ

    • ͨͩදݱ࣍ୈͰ͸ແݶͷՄೳੑ͕͋Δ 3. APIΛ࢖͑͹Tileͷಈతੜ੒ɾ࡟আ΋Մೳ