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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Michael C. Neel
July 12, 2014
Technology
0
200
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
81
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
AI駆動開発を事業のコアに置く
tasukuonizawa
1
200
Amazon Bedrock Knowledge Basesチャンキング解説!
aoinoguchi
0
140
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.5k
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.8k
ZOZOにおけるAI活用の現在 ~開発組織全体での取り組みと試行錯誤~
zozotech
PRO
5
5.5k
OpenShiftでllm-dを動かそう!
jpishikawa
0
110
変化するコーディングエージェントとの現実的な付き合い方 〜Cursor安定択説と、ツールに依存しない「資産」〜
empitsu
4
1.4k
小さく始めるBCP ― 多プロダクト環境で始める最初の一歩
kekke_n
1
420
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
940
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
380
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.4k
Featured
See All Featured
Abbi's Birthday
coloredviolet
1
4.7k
Are puppies a ranking factor?
jonoalderson
1
2.7k
Technical Leadership for Architectural Decision Making
baasie
1
240
My Coaching Mixtape
mlcsv
0
48
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
240
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
320
Into the Great Unknown - MozCon
thekraken
40
2.3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
Chasing Engaging Ingredients in Design
codingconduct
0
110
Optimizing for Happiness
mojombo
379
71k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
330
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