Simple 'console' based roguelike/stealth game using SpriteKit and GameplayKit
In this tutorial series we're going to create a simple roguelike/stealth game using SpriteKit and GameplayKit. We will use SpriteKit to simulate a text based console (but we'll also use graphics), use GameplayKit for pathfinding and look at some common algorithms/patterns for visibility and AI.
GameplayKit features we're using in this series:
- Entity Component System: GKEntity & GKComponent
- State Machines: GKStateMachine & GKState
- Pathfinding: GKGridGraph & GKGridGraphNode
- Rule system: GKRuleSystem & GKRule
Original artwork: 1-Bit Pack by Kenney
- Youtube playlist: https://youtube.com/playlist?list=PLhUrOtMlcKDD0OACHdRfUjKcpJfS-fcST
- Download artwork from: https://maartene.github.io/resources/mini-stealth/artwork.zip
- Source code: https://github.com/maartene/MiniStealth/tree/main
- MiniStealth - EP01: Introduction & using SpriteKit to create a 'console'
- MiniStealth - EP02: Write tiles to the console
- MiniStealth - EP03: Show a map of the game world
- MiniStealth - EP04: Move the player around
- MiniStealth - EP05: Visibility using shadow casting
- MiniStealth - EP06: Enemy AI pt 1: state machine and naive path finding
- MiniStealth - EP07: Enemy AI pt 2: pathfinding using GameplayKit
- MiniStealth - EP08: Polish: centering the view, adding alerts and sound effects
- MiniStealth - EP09: Adding win and lose condition
- MiniStealth - EP10: Multiple levels
- MiniStealth - EP11: Visibility revisited: visibility cones
- MiniStealth - EP12: Wrapping it up