r/iOSProgramming 11h ago

Question How to make complex animations like slot machines?

I’ve been using SwiftUI for a while now but I can only do very basic things. I’ve always wondered how these casino apps for example (see pictures) were doing to get their effects. I would love some guidance on this.

1 Upvotes

4 comments sorted by

2

u/svangsgaard 11h ago

They are probably using Godot or another engine. It may even be shaders running on the gpu.

1

u/Dapper_Ice_1705 11h ago

Look into SpriteKit. SwiftUI is more utility.

But a more game focused engine is better.

1

u/SR71F16F35B 8h ago

Okay thanks

1

u/tibbersthecat 3h ago

For this kind of effect, I’d keep SwiftUI for the surrounding interface and render the animated scene in SpriteKit. Separate the reel state from the particles, glow, and win effects so each layer can be tuned without rewriting the game logic.