Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering iOS Game Development

You're reading from   Mastering iOS Game Development Mastering iOS Game Development

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher Packt
ISBN-13 9781783554355
Length 228 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Peter Ahlgren Peter Ahlgren
Author Profile Icon Peter Ahlgren
Peter Ahlgren
Miguel DeQuadros Miguel DeQuadros
Author Profile Icon Miguel DeQuadros
Miguel DeQuadros
Arrow right icon
View More author details
Toc

Level design and implementation

This is where we can have a lot of fun! We are now going to start designing our levels. You can spend hours adding the little details to each level to make them look perfect. Remember, a well-designed level will impress players and will give your game a professional look.

Unfortunately, Xcode just doesn't have the drag-and-drop ease of level design, so we are going to create our maps using a third-party program called Tiled Map Editor, which can be downloaded for free at www.mapeditor.org.

I have included a sprite sheet for our levels as well as a built level in the Resources section of this book. Do you remember the JSTileMap library that was included as well in this chapter? It's what is going to display these maps as SpriteKit doesn't support TMXTileMaps. So sad!

Anyway, moving on! Open up the level I have included, entitled level1.tmx, and get a feel for how the program works.

The side bar of Tiled shows you the different layers of the levels...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime