Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Building a 2D Tiled Engine in Unity
Michael C. Neel
July 12, 2014
Technology
0
170
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
100
The Diversity Talk
vinull
0
72
Stop Teaching Children Code!
vinull
1
130
John Romero Level Design as Presented by Michael Neel
vinull
0
1.5k
Viva La Vita!
vinull
0
1.3k
Moving to WordPress
vinull
0
49
Game Development with Unity
vinull
0
70
CrowdFunding with Kickstarter
vinull
0
110
As Easy as Raspberry Pi
vinull
0
140
Other Decks in Technology
See All in Technology
Settlement simulation testing to ensure correct settlement processing
applepine1125
2
1.5k
#awsbasics [LT] サーバレスECにおける Step Functions の使い方
miu_crescent
0
860
テスト自動化を最速で軌道に乗せるために
nozomiito
0
150
Amazon Comprehendで始める感情分析
46ta
0
210
塩漬けにしているMySQL 8.0.xxをバージョンアップしたくなる、ここ数年でのMySQL 8.0の改善点 / MySQL Update 202208
yoshiakiyamasaki
1
750
You're M̶u̶t̶e̶d̶ Rooted
patrickwardle
1
8.2k
Azure DevOps Online Vol.6 - 業務で必要なCIをみんなで考えよう
kkamegawa
0
300
プロダクトマネージャーの役割と育成、評価
middleokada
18
12k
殺虫剤のパラドックスの真実 / The Truth of The Pesticide Paradox
kzsuzuki
1
200
セキュアなTerraformの使い方 ~ 機密情報をコードに含めず環境構築するにはどうしたらいいの?
harukasakihara
9
1.6k
Microsoft Data Analytics trends : ”Lakehouse” , ”Data Mesh"
ryomaru0825
2
160
森林情報のオープンデータと QGISでの利用
kou_kita
0
340
Featured
See All Featured
The Web Native Designer (August 2011)
paulrobertlloyd
75
2k
Support Driven Design
roundedbygravity
87
8.6k
How to train your dragon (web standard)
notwaldorf
60
3.9k
Bootstrapping a Software Product
garrettdimon
296
110k
How GitHub (no longer) Works
holman
297
140k
Building Flexible Design Systems
yeseniaperezcruz
310
34k
Happy Clients
brianwarren
89
5.6k
What’s in a name? Adding method to the madness
productmarketing
11
1.6k
Rails Girls Zürich Keynote
gr2m
87
12k
WebSockets: Embracing the real-time Web
robhawkes
57
5.6k
A Philosophy of Restraint
colly
192
15k
No one is an island. Learnings from fostering a developers community.
thoeni
9
1.4k
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 Michael.neel@gmail.com vinull.com @ViNull