Swift Game Development
Создай свою первую игру на Swift
Résumé :
Introduction
The book «Swift Game Development» (author — Siddharth Shekar, 2019, 330 pages) is a practical guide to creating games for Apple platforms using the Swift language. Although the PythonLib site focuses mainly on Python, this book will be useful for anyone interested in mobile and desktop game development and looking to expand their toolkit. The author consistently guides the reader from simple concepts to a full-fledged game project, using the SpriteKit and GameplayKit frameworks.
What the book is about
The book is dedicated to developing 2D games for iOS and macOS. It starts with the basics of Swift and setting up the Xcode environment, then moves on to working with graphics, animation, physics, sound, and artificial intelligence. Each chapter contains code examples and ends with creating a small game or game module. At the end, the reader assembles a complete project — a platformer with multiple levels.
Who this book is for
The book is aimed at beginner and intermediate developers who are already familiar with the basics of Swift (or another language) and want to apply their knowledge in game development. It is also suitable for those who want to learn SpriteKit and GameplayKit from scratch but already have basic programming experience.
What the reader will learn
- Swift basics for games: working with classes, structures, protocols, optional types.
- SpriteKit: creating scenes, sprites, textures, animations, physics