Skip to content

Add watchOS target#42

Open
fwcd wants to merge 18 commits intomainfrom
watch
Open

Add watchOS target#42
fwcd wants to merge 18 commits intomainfrom
watch

Conversation

@fwcd
Copy link
Owner

@fwcd fwcd commented Apr 22, 2022

Implements #41

This branch aims to make the impossible possible and adds a watchOS target. Since GameplayKit (and UIKit's views/view controllers) are unavailable, we had to get a bit creative and implement the relevant subset of these APIs ourselves, including a custom implementation of perlin noise (see WatchGameplayKit). Using SwiftUI for input handling, the game actually runs on the watch:

image

The camera can be rotated by dragging, the player can jump by tapping the screen and move forward by rotating the crown.

(Of course, this shouldn't be taken all too seriously, the gameplay experience is... well, but hey, it's feasible!)

@fwcd fwcd added the enhancement New feature or request label Apr 22, 2022
fwcd added 2 commits April 22, 2022 16:34
...the CI runner doesn't support anything newer, apparently.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant