SwiftUI-Games
SwiftUI-Games copied to clipboard
Collection of simple demos of SwiftUI + SceneKit games
SwiftUI-Games (WIP)
Collection of simple demos of SwiftUI + SceneKit games
TestFlight Beta (iOS 16+)
Design
- Pure
SwiftUIat any cost. ZeroUIKitimports - Full Apple-crossplatform. Playable on
iOS,macOS. (tvOSlater) - Only modern APIs, zero legacy support.
iOS 16+ - Zero dependencies
- Zero projectiles. I hate projectiles
Goals
- Formulate some clean and simple architecture for Apple-crossplatform
SwiftUI+SceneKitprojects - Collect all the bad hacks in the world
Why it's so messy?
- I made it
- SwiftUI is young and raw
- APIs and project itself is constantly changing
MinimalDemo
Simple SCNScene with ball and some SwiftUI overlay
TBSGame (WIP)
Setup for turn based strategy with Field, Teams and Heroes with unique Abilities.
- In-scene tap and drag gesture hack without
UIKit SceneRendererDelegatehack withoutUIKit- Hitscan helper
TogetherGame (WIP)
Simple arcade. Control two nice balls, catch all of bad ones
SceneRendererDelegatehack withoutUIKitforrenderer(renderer, updateAtTime)(SceneKiteach-frame-callback similar toupdate()from Unity)SCNPhysicsContactDelegatehack withoutUIKit- In-game
Timerhack GCVirtualController, each stick moves one ball. Simpliest implementation, checkDarkGamefor cool cross-platformSuperControllercode (WIP)
DarkGame (WIP)
Simple arcade. Control ball, loot and run. The Spirit will light your way
SceneRendererDelegatehack withoutUIKitforrenderer(renderer, updateAtTime)(SceneKiteach-frame-callback similar toupdate()from Unity)SCNPhysicsContactDelegatehack withoutUIKit- Keyboard, real gamepad or
GCVirtualControllercontrol in one place calledSuperController(WIP, not working)
JumpGame
Ugly Doddle Jump clone with SceneKit and SwiftUI
Roadmap
Current tasks are here
- Temple Run clone
- Clash of Clans/Warcraft simple clone with some buildings
- Heroes Editor
- Some Battle Royal
- Simple dialog system
Broken things (by Apple or me)
- Some transitions and animations