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
210
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
140
The Diversity Talk
vinull
0
120
Stop Teaching Children Code!
vinull
1
170
John Romero Level Design as Presented by Michael Neel
vinull
0
1.9k
Viva La Vita!
vinull
0
1.6k
Moving to WordPress
vinull
0
84
Game Development with Unity
vinull
0
120
CrowdFunding with Kickstarter
vinull
0
150
As Easy as Raspberry Pi
vinull
0
170
Other Decks in Technology
See All in Technology
BFCacheを活用して無限スクロールのUX を改善した話
apple_yagi
0
120
モジュラモノリス導入から4年間の総括:アーキテクチャと組織の相互作用について / Architecture and Organizational Interaction
nazonohito51
6
2.5k
スピンアウト講座03_CLAUDE-MDとSKILL-MD
overflowinc
0
1.2k
Phase11_戦略的AI経営
overflowinc
0
1.5k
君はジョシュアツリーを知っているか?名前をつけて事象を正しく認識しよう / Do you know Joshua Tree?
ykanoh
4
120
RGBに陥らないために -プロダクトの価値を届けるまで-
righttouch
PRO
0
110
Phase10_組織浸透_データ活用
overflowinc
0
1.5k
イベントで大活躍する電子ペーパー名札を作る(その2) 〜 M5PaperとM5PaperS3 〜 / IoTLT @ JLCPCB オープンハードカンファレンス
you
PRO
0
200
Phase03_ドキュメント管理
overflowinc
0
2.4k
GitHub Copilot CLI で Azure Portal to Bicep
tsubakimoto_s
0
190
Laravelで学ぶOAuthとOpenID Connectの基礎と実装
kyoshidaxx
4
1.8k
Phase01_AI座学_基礎
overflowinc
0
3.7k
Featured
See All Featured
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
160
Bash Introduction
62gerente
615
210k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
210
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
100
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
The Language of Interfaces
destraynor
162
26k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
300
Between Models and Reality
mayunak
2
240
KATA
mclloyd
PRO
35
15k
SEO for Brand Visibility & Recognition
aleyda
0
4.4k
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Rails Girls Zürich Keynote
gr2m
96
14k
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