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
91
Stop Teaching Children Code!
vinull
1
140
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
62
Game Development with Unity
vinull
0
94
CrowdFunding with Kickstarter
vinull
0
140
As Easy as Raspberry Pi
vinull
0
150
Other Decks in Technology
See All in Technology
音声×Copilot オンコパの世界
kasada
1
120
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.8k
エンジニア候補者向け資料2024.11.07.pdf
macloud
0
4.6k
Amazon CloudWatch Network Monitor のススメ
yuki_ink
0
150
Platform Engineering for Software Developers and Architects
syntasso
1
350
ライブラリでしかお目にかかれない珍しい実装
mikanichinose
2
340
なぜ今 AI Agent なのか _近藤憲児
kenjikondobai
2
1.1k
Microsoft MVPになる前、なってから/Fukuoka_Tech_Women_Community_1_baba
nina01
0
180
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
2
3.1k
Lexical Analysis
shigashiyama
1
140
Microsoft Fabric OneLake の実体について
ryomaru0825
0
200
Deno+JSRでパッケージを作って公開する
askua
0
120
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
Producing Creativity
orderedlist
PRO
341
39k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
KATA
mclloyd
29
14k
Into the Great Unknown - MozCon
thekraken
32
1.5k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
231
17k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
43
6.8k
Documentation Writing (for coders)
carmenintech
65
4.4k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
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