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
110
CrowdFunding with Kickstarter
vinull
0
150
As Easy as Raspberry Pi
vinull
0
170
Other Decks in Technology
See All in Technology
「データとの対話」の現在地と未来
kobakou
0
1.3k
GitLab Duo Agent Platform + Local LLMサービングで幸せになりたい
jyoshise
0
100
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
14k
Webアクセシビリティ技術と実装の実際
tomokusaba
0
210
自動テストが巻き起こした開発プロセス・チームの変化 / Impact of Automated Testing on Development Cycles and Team Dynamics
codmoninc
1
1.1k
Databricksアシスタントが自分で考えて動く時代に! エージェントモード体験もくもく会
taka_aki
0
320
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
4
22k
組織のSREを推進するためのPlatform EngineeringとEKS / Platform Engineering and EKS to drive SRE in your organization
chmikata
0
180
Oracle Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
4
1.1k
OCI Security サービス 概要
oracle4engineer
PRO
2
13k
OpenClawで回す組織運営
jacopen
2
290
Introduction to Bill One Development Engineer
sansan33
PRO
0
380
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
528
40k
We Have a Design System, Now What?
morganepeng
55
8k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
230
Git: the NoSQL Database
bkeepers
PRO
432
66k
Done Done
chrislema
186
16k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
150
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
150
A designer walks into a library…
pauljervisheath
210
24k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
140
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.8k
Code Review Best Practice
trishagee
74
20k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
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