Using SpriteView to add Particle Effects in SwiftUI - Castles Part 3

Опубликовано: 16 Апрель 2026
на канале: Coding With Tom
494
6

Using SpriteKit we will create particle effects and add them to a Castle using SpriteView. Castles that are at full health will have a sparkling effect while castles that are at low health will have a fire effect. We will create and edit the particle effect with Xcode.

Chapters:
0:00 Using Sprite Kit to Add Particle Effects
0:12 Adding Condition to CastleViewModel
1:05 Castle Effect Presentation
2:01 Creating Fire Effect
3:03 Creating Sparkling Effect
5:28 Adding SKView to CastleCell

Source code: https://github.com/codingWithTom/Cast...

Castles - SwiftUI playlist:    • Castles - SwiftUI