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
180
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
110
The Diversity Talk
vinull
0
86
Stop Teaching Children Code!
vinull
1
140
John Romero Level Design as Presented by Michael Neel
vinull
0
1.7k
Viva La Vita!
vinull
0
1.4k
Moving to WordPress
vinull
0
60
Game Development with Unity
vinull
0
77
CrowdFunding with Kickstarter
vinull
0
130
As Easy as Raspberry Pi
vinull
0
140
Other Decks in Technology
See All in Technology
アクセス制御にまつわる改善 / Improving access control
itkq
0
540
LLM開発・活用の舞台裏@2024.04.25
yushin_n
1
210
よく聞くけど使ったことないソフトウェアNo.1 KafkaとSnowflake
foursue
4
360
開発生産性大幅アップ!Postman VS Code拡張機能
nagix
2
380
ServiceNow Knowledge 24の歩き方 EYストラテジー・アンド・コンサルティング
manarobot
0
200
Kernel MemoryでAzure OpenAI Serviceとお手軽データソース連携
mitsuzono
1
250
ゼロから始めるVue.jsコミュニティ貢献 / first-vuejs-community-contribution-link-and-motivation
lmi
1
130
Terraformあれやこれ/terraform-this-and-that
emiki
8
1.4k
障害対応をちょっとずつよくしていくための 演習の作りかた
heleeen
0
210
Databricks における 『MLOps』
databricksjapan
2
170
「スニダン」開発組織の構造に込めた意図 ~組織作りはパッションや政治ではない!~
rinchsan
3
570
Cloud Native Java with Spring Boot (CNCF Aarhus, April 2024)
thomasvitale
1
170
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
221
21k
Git: the NoSQL Database
bkeepers
PRO
422
63k
BBQ
matthewcrist
80
8.8k
Atom: Resistance is Futile
akmur
259
25k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
244
20k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
10 Git Anti Patterns You Should be Aware of
lemiorhan
648
58k
The Invisible Side of Design
smashingmag
294
49k
We Have a Design System, Now What?
morganepeng
43
6.8k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
9
8.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
2
3.4k
Clear Off the Table
cherdarchuk
84
310k
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