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
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
130
The Diversity Talk
vinull
0
110
Stop Teaching Children Code!
vinull
1
150
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
73
Game Development with Unity
vinull
0
100
CrowdFunding with Kickstarter
vinull
0
140
As Easy as Raspberry Pi
vinull
0
160
Other Decks in Technology
See All in Technology
サービスロボット最前線:ugoが挑むPhysical AI活用
kmatsuiugo
0
190
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
30k
Goss: New Production-Ready Go Binding for Faiss #coefl_go_jp
bengo4com
0
1.1k
LLMエージェント時代に適応した開発フロー
hiragram
1
410
イオン店舗一覧ページのパフォーマンスチューニング事例 / Performance tuning example for AEON store list page
aeonpeople
2
270
Backboneとしてのtimm2025
yu4u
4
1.4k
実践データベース設計 ①データベース設計概論
recruitengineers
PRO
2
200
Preferred Networks (PFN) とLLM Post-Training チームの紹介 / 第4回 関東Kaggler会 スポンサーセッション
pfn
PRO
1
180
AIエージェント就活入門 - MCPが履歴書になる未来
eltociear
0
430
Goでマークダウンの独自記法を実装する
lag129
0
210
VPC Latticeのサービスエンドポイント機能を使用した複数VPCアクセス
duelist2020jp
0
180
.NET開発者のためのAzureの概要
tomokusaba
0
230
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
A better future with KSS
kneath
239
17k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Unsuck your backbone
ammeep
671
58k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
[RailsConf 2023] Rails as a piece of cake
palkan
56
5.8k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Speed Design
sergeychernyshev
32
1.1k
Side Projects
sachag
455
43k
Typedesign – Prime Four
hannesfritz
42
2.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