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
iOS Game Development By Example

You're reading from   iOS Game Development By Example Learn how to develop an ace game for your iOS device, using Sprite Kit

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher Packt
ISBN-13 9781785284694
Length 220 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Samanyu Chopra Samanyu Chopra
Author Profile Icon Samanyu Chopra
Samanyu Chopra
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. An Introduction to Sprite Kit FREE CHAPTER 2. Scenes in Sprite Kit 3. Sprites 4. Nodes in Sprite Kit 5. Physics in Sprite Kit 6. Animating Sprites, Controls, and SceneKit 7. Particle Effects and Shaders 8. Handling Multiple Scenes and Levels 9. Performance Enhancement and Extras 10. Revisiting Our Game and More on iOS 9 Index

Measuring performance with instruments


Instruments is a performance measuring and testing tool provided by Apple in Xcode for the tracing and profiling of code. Instruments help in analyzing the performance of code. There are lot of instruments that can be used for checking performance issues, memory leaks, or other problems.

Once any issue gets identified, it becomes easy to rectify the issue. You can also see how much our game caches, and based on that, make a decision about the assets in the game.

You can access the instruments by navigating to Xcode | Open Developer Tool | Instruments. Then, you can choose the appropriate instrument to move with. It is better to have a look at the analysis in the initial phase of the development process, by this, you can easily understand which inclusion in the code was responsible for the error.

Instruments provide you with a list of trace templates. Trace templates are groups of preconfigured instruments. Let's discuss each of the trace templates in detail...

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 €18.99/month. Cancel anytime