IOS game development by example : learn how to develop an ace game for your iOS device using Sprite Kit /
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing,
2015.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Table of Contents
- Preface
- Chapter 1: An Introduction to Sprite Kit
- What's new in iOS 8?
- Getting to know Swift
- Getting to know Sprite Kit
- Advantages of Sprite Kit
- Elements of Sprite Kit
- Scenes
- Nodes
- Actions
- Features of Sprite Kit
- Particle editor
- Texture atlas generator
- Shaders
- Lighting and shadows
- Physics
- The game loop
- Setting up a project
- The Hello World project
- Result
- Summary
- Chapter 2: ScenesDevice orientation in Sprite Kit
- Orientation in our project
- Revisiting project elements
- AppDelegate.swift
- GameScene.sks
- GameScene.swift
- GameViewController.swift
- Main.storyboard
- LaunchScreen.xib
- Adjusting the project
- What is a scene?
- Coordinate system
- Creating a scene
- Creating a node tree
- Drawing order for a node tree
- Adding the first scene in our game
- Adding another scene to our game
- A transition from one scene to another
- Setting animation play during transition
- Creating transition objectsAdding transition in our game
- Summary
- Chapter 3: Sprites
- SKSpriteNode
- Initializing a sprite
- The properties of SKSpriteNode
- Physical
- Texture
- centerRect
- Color
- Shader
- Adding a sprite without using textures
- Changing the color property
- Changing colorBlendFactor in MenuScene
- Changing the position of a sprite
- Resizing a sprite
- Working with texture objects
- What is a texture atlas?
- Preloading textures into memory
- Summary
- Chapter 4: Nodes
- All you need to know about nodesUsing the SKNode object in the game
- Recognizing a node
- Initializing a node
- Building a node tree
- Actions on a node tree
- The coordinate system of a node
- Other functions and properties
- Creating subclasses for our Platformer game
- NodeMenuScene
- CropScene
- ShapeScene
- ParticleScene
- LightScene
- VideoNodeScene
- Summary
- Chapter 5: Physics
- Simulating physics in Sprite Kit
- SKPhysicsBody
- The initialization of volume-based physics bodies
- The initialization of edge-based physics bodiesThe behavior controller properties of a physics body
- The physical properties of a physics body
- Collision control properties and functions
- Forces and impulses
- The velocity of a physics body
- Using GameScene.swift to add physics bodies
- Summary
- Chapter 6: Animating Sprites, Controls, and SceneKit
- Animating nodes
- SKAction
- Adding a single action to a node
- Adding multiple actions to a node
- Creating actions
- Moving nodes using actions
- Rotating nodes using actions