Beginning Swift Games Development for iOS
Game apps are one of the most popular categories in the Apple iTunes App Store. Well, the introduction of the new Swift programming language will make game development even more appealing and easier to existing and future iOS app developers. In response, James Goodwill, Wesley Matlock and Apress int...
Main Authors: | , |
---|---|
Format: | eBook |
Language: | Inglés |
Published: |
Berkeley, CA :
Apress
2015.
|
Edition: | 1st ed. 2015. |
Subjects: | |
See on Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629581906719 |
Table of Contents:
- Contents at a Glance; Introduction; Part I: Swift and Sprite Kit; Chapter 1: Setting Up Your Game Scene and Adding Your First Sprites; What You Need to Know; What You Need to Have; SuperSpaceMan; Creating a Swift Sprite Kit Project; Starting from Scratch; The GameViewController Class; The GameScene Class; Adding a Background and Player Sprite; Summary; Chapter 2: Sprite Kit Scenes and SKNode Positioning; What Is an SKScene?; The SKScene Rendering Loop; Building the Scene's Node Tree; Rendering the Node Tree; Searching the Node Tree; Looking at SKSpriteNode Coordinates and Anchor Points
- CoordinatesAnchor Points; Summary; Chapter 3: Adding Physics and Collision Detection to Your Game; What Is an SKPhysicsBody?; Adding Physics to Your Game World; Applying Forces to SKPhysicsBody; Adding Collision Detection to Your SKNode; Adding a Node to Collide Into; Adding Collision Detection; Adding Bit Masks to Your SKPhysicsBody; Removing the Orb When You Receive a Contact Message; Summary; Chapter 4: Adding Scene Scrolling and Game Control; Reorganizing the GameScene; Adding More Orbs to the Scene; Scrolling the Scene; Controlling Player Movement with the Accelerometer; Summary
- Chapter 5: Adding Actions and AnimationsRefactoring the Orb Node Layout One Last Time; Sprite Kit Actions; Using Actions to Move Nodes in the Scene; Using SKActions to Animate Sprites; Adding Some Additional Bling to the GameScene; Summary; Chapter 6: Adding Particle Effects to Your Game with Emitter Nodes; What Are Emitters?; Using Particle Emitter Templates; Creating a Particle Emitter; Particle Emitter Properties; The Particle Life-Cycle Properties; The Birthrate and Maximum Properties; The Start and Range Properties; The Particle Movement Properties; The Position Range Property
- The Angle PropertyThe Speed Property; The Acceleration Property; Adding an Exhaust Trail to the Player; Summary; Chapter 7: Adding Points and Sound; What Are SKLabelNodes?; Changing the Horizontal Alignment of the Label Node; Changing the Vertical Alignment of the Label Node; Adding Scoring to the Game; Adding an Impulse Counter to the Game; Adding Simple Sounds to the Game; Summary; Chapter 8: Transitioning Between Scenes; Transitioning Between Scenes Using SKTransitions; Pausing Scenes During a Transition; Detecting When a New Scene Is Presented; Adding a New Scene to SuperSpaceMan
- Ending the GameWinning the Game; Losing the Game; Adding the Transition; Summary; Chapter 9: Sprite Kit Best Practices; Creating Your Own Nodes Through Subclassing; Reusing Textures; Externalizing Your Game Data; Keeping Your Node Tree Pruned; Summary; Part II: Swift and Scene Kit; Chapter 10: Creating Your First Scene Kit Project; Scene Kit Primer; Scene Kit Animation; What You Need to Know; Creating the Scene Kit Project; Wiring Up and Building a Scene; SuperSpaceMan3D; Project Resources; Building the Scene; Summary; Chapter 11: Building the Scene; Scene Graph; Scene Kit Editor
- Render Cycle