Cargando…

Learning iOS 8 game development using Swift : create robust and spectacular 2D and 3D games from scratch using Swift--Apple's latest and easy-to-learn programming language /

This book is for novices as well as proficient game developers who want to learn more about game development using Swift. If you are from a 2D game development background and would like to learn the basics of 3D game development, this book is for you. Additionally, if you want to learn the basics of...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Shekar, Siddharth (Autor)
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; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started; Downloading and Installing Xcode; Creating an iOS developer account; Introducing Swift; Introducing Playground; Exploring SpriteKit; New features in SpriteKit; Looking at the default SpriteKit project; Exploring SceneKit; Looking at the default SceneKit project; Understanding 3D objects; 2D and 3D coordinate system; The basics of SceneKit; Introducing Metal; The graphics pipeline; Summary; Chapter 2: Swift Basics; Variables; Operators
  • Arithmetic operatorsComparison operators; Logical operators; Arithmetic increment/decrement; Composite operations; Statements; Decision making statements; The if statement; The if else statement; The else if statement; Conditional expressions; The switch statement; Looping statements; The while loop; The do while loop; The for loop; The for in loop; Arrays; Looping through arrays; Adding, removing, and inserting objects into arrays; Important array functions; Dictionary; Adding and removing objects from the dictionary; Looping through items in the dictionary; Dictionary functions; Functions
  • Simple functionsPassing a parameter; Passing more than one parameter; Returning a value; Default and named parameters; Returning more than one value; Classes; Properties and initializers; Custom methods; Inheritance; Access specifiers; Optionals; Summary; Chapter 3: An Introduction to Xcode; Xcode application types; Master-Detail Application; Page-Based Application; Tabbed Application; Single View Application; The Xcode interface; The toolbar; The Navigation panel; The Project Navigation tab; The Symbol Navigator tab; The Find Navigator tab; The Issue Navigator tab; The Test Navigator tab
  • The Debug Navigator tabThe Breakpoint Navigator tab; The Report Navigator tab; The Utility panel; The Single View Project; The project root; General; The Capabilities tab; The Info tab; The Build Settings tab; The Build Phases tab; The Build Rules tab; The project folder; The Utility panel (Redux); The inspector tabs; The library; The Debug panel; Running the app on the device; Summary; Chapter 4: SpriteKit Basics; Introduction to SpriteKit and SKScene; Adding a main menu scene; Adding a gameplay scene; Adding a background and a hero; Updating the position of the hero; Adding player controls
  • Adding enemiesAdding enemy bullets; Collision detection; Keeping score; Displaying score; Displaying game over; Adding the main menu button; Saving the high score; Resetting the high score count; Summary; Chapter 5: Animation and Particles; Sprite sheet animation; Basic SpriteKit animation; Exploring Texture Packer; Data; Texture; Layout; Sprites; Creating the hero spritesheet; Animating the hero; Particle systems; Designing particles; Name; Background; Particle texture; Particles; Lifetime; Position Range; Angle; Speed; Acceleration; Alpha; Scale; Rotation; Color Blend; Color Ramp