~/talk

Game Development in SwiftUI

Talkat iOS Conf SG 2026 · 2026-01-21..01-23· [creative-coding, game-development]
slides:none on file

Proposes building playable prototypes with SwiftUI using Canvas + TimelineView for per-frame rendering, fixes slowdown by converting views to pre-rendered symbols, and makes three one-day games (a Vampire Survivors parody, a Doom-style shooter with an infinite scroll-aim, and a rhythm game) that all run and feel good. Uses a seeded RNG for deterministic waves, AVAudioEngine with multiple player nodes for low-latency sound, a drag-gesture hack for immediate tap-down input, and TextRenderer for animated text; most techniques work on iOS 26.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Why I started mobile games
  3. 3:50SwiftUI for game dev
  4. 5:14SwiftUI perks for games
  5. 8:23SwiftUI previews speed
  6. 10:52No game engine?
  7. 12:18SwiftUI-suitable games
  8. 13:20Demo: Garlic Providers
  9. 15:47Optimize with Canvas symbols
  10. 16:51Demo: SwiftUI runs Doom
  11. 18:38Infinite scroll for aiming
  12. 20:47Random number generation
  13. 21:50Seeded RNG for gameplay
  14. 23:15Demo: Simeon Says
  15. 24:45Taps in rhythm games
  16. 26:30Inline arrays for speed
  17. 27:33Low-latency sound with AV
  18. 31:29Text rendering in UI
  19. 33:56Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.