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
Building a 2D Tiled Engine in Unity
Search
Michael C. Neel
July 12, 2014
Technology
0
190
Building a 2D Tiled Engine in Unity
Talk given at CodeStock 2014
Michael C. Neel
July 12, 2014
Tweet
Share
More Decks by Michael C. Neel
See All by Michael C. Neel
Truth View Input - A Framework for Game Design
vinull
1
120
The Diversity Talk
vinull
0
94
Stop Teaching Children Code!
vinull
1
150
John Romero Level Design as Presented by Michael Neel
vinull
0
1.8k
Viva La Vita!
vinull
0
1.5k
Moving to WordPress
vinull
0
63
Game Development with Unity
vinull
0
96
CrowdFunding with Kickstarter
vinull
0
140
As Easy as Raspberry Pi
vinull
0
150
Other Decks in Technology
See All in Technology
バックエンドエンジニアのためのフロントエンド入門 #devsumiC
panda_program
16
6.5k
Developers Summit 2025 浅野卓也(13-B-7 LegalOn Technologies)
legalontechnologies
PRO
0
150
Developer Summit 2025 [14-D-1] Yuki Hattori
yuhattor
19
5.1k
FastConnect の冗長性
ocise
1
9.6k
APIファーストで実現する運用性の高い IoT プラットフォーム: SORACOMのアプローチ
soracom
PRO
0
240
これからSREになる人と、これからもSREをやっていく人へ
masayoshi
6
4.1k
CZII - CryoET Object Identification 参加振り返り・解法共有
tattaka
0
240
Datadog APM におけるトレース収集の流れ及び Retention Filters のはなし / datadog-apm-trace-retention-filters
k6s4i53rx
0
320
明日からできる!技術的負債の返済を加速するための実践ガイド~『ホットペッパービューティー』の事例をもとに~
recruitengineers
PRO
3
100
High Performance PHP
cmuench
0
140
ビジネスと現場活動をつなぐソフトウェアエンジニアリング~とあるスタートアッププロダクトの成長記録より~
mizunori
0
210
アジャイル開発とスクラム
araihara
0
160
Featured
See All Featured
Music & Morning Musume
bryan
46
6.3k
Speed Design
sergeychernyshev
25
780
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
Designing Experiences People Love
moore
139
23k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Raft: Consensus for Rubyists
vanstee
137
6.8k
Making the Leap to Tech Lead
cromwellryan
133
9.1k
Code Reviewing Like a Champion
maltzj
521
39k
Mobile First: as difficult as doing things right
swwweet
223
9.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
29
4.6k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.2k
Side Projects
sachag
452
42k
Transcript
Building a 2D Tile Engine in Unity by Michael C.
Neel @vinull / vinull.com
What is this talk?
Unity 4.5 – A New Hope …Lost
What is a 2D Tile Engine?
What is a 2D Tile Engine?
What is a 2D Tile Engine?
Background
Tiled and XTiled
Unity Options Few free and Open Source Only basic support
Limited map size
UTiled Project Goals All Features of Tiled No Size Limit
Modifiable (destructible environments) “The Unity Way”
The Unity Way Prefabs for Layers Scriptable Objects Unity 4.3
– Sprites and Spritesheets Colliders from Polygons Editor UI
What a mesh! Sprite object have high overhead “Pixel Perfect”
Physics issues better in 4.5, but still some remain No Zlib or Gzip compression support in Unity’s Mono Cannot access source image before import processor
M*E*S*H Geometry is painless
M*E*S*H Geometry is painless
1 (0,0,0) 3 (1,1,0) 4 (0,1,0) 2 (1,0,0) V[] =
(0,0,0), (1,0,0), (1,1,0), (0,1,0) M*E*S*H Geometry is painless
1 3 4 2 1 2 1 = 1, 3,
4 2 = 1, 2, 3 T[] = 1, 3, 4, 1, 2, 3 M*E*S*H Geometry is painless
1 3 4 2 M*E*S*H Geometry is painless (0,0) (1,1)
(0,1) (1,0) 0.167 UV[] = (0, 0), (0, 0.125), (0.167, 0.125), (0.167, 0)
M*E*S*H Geometry is painless 3 8 10 13 3
Demos! 1. Draw a circle 2.Draw the rest of the
owl
The Technology Cooperative techco.org speakerdeck.com/vinull
[email protected]
vinull.com @ViNull