Michael Temper

@michael_temper
25 Followers
46 Following
25 Posts
visionOS & iOS Developer and creator of Ploppy Pairs, Ploppypop and Where is Ploppy? โ€จโ€จโ€จ#iOS #visionOS #Swift
Homepagehttps://tempuno.com
Appshttps://apps.apple.com/at/developer/michael-temper/id1676934134

There seems to be a bug with SpatialEventGesture() that it ignores .handActivationBehavior(.pinch) - it still triggers for direct touches

Combining it with customizable handActivationBehavior breaks the input of SwiftUI attachments

Workaround:

1. Add a LongPressGesture simultaneously to your actual gesture
2. Use a min duration of 0 to trigger it immediately
3. Set a handActivationBehavior to get the configured behavior
4. Sequence it before the SpatialTapGestureEvent

FB15760689
#visionOS

AudioMixGroup in #visionOS ๐Ÿ”Š

I couldn't find much resources how AudioMixGroup works, so I wrote a small tutorial with an example app to show how I made it work in my game.

I use it to separately change the volume of audio groups, like sound and music

https://mitemmetim.medium.com/audiomixgroup-tutorial-for-visionos-2-85b0beb17210

#AppleVisionPro #RealityComposerPro

AudioMixGroup Tutorial for visionOS 2 - Michael Temper - Medium

Audio can be an essential part of a visionOS app to make the user feel really immersed inside your world. To provide a good user experience, we often want to let the user adapt the audio to theirโ€ฆ

Medium

The Ultra Wide Virtual Display is great for developing Vision Pro apps, RCP + Xcode + Simulator / Immersive Space, all I need at once

Also just realized you can use your mouse in Immersive Space

And a small spoiler of the prototype of my new game for the AVP I am working on ๐Ÿ‘€

#AVP #visionOS #AppleVisionPro

Finally I was able to test #SharePlay with Spatial Personas in Immersive Space as well.

Set the correct .spatialTemplatePreference, fixed the synchronization of the game board transform and the rest worked out of the box.

#visionOS #AppleVisionPro

#AI can be really helpful with #a11y. I got feedback that a description for the islands would be great

With listing the items on the islands and asking for a child-friendly result, I got a much more joyful description I could ever came up with - making it enjoyable for everyone! #accessibility #iOS #Swift #VoiceOver

SharePlay + Spatial Persona + ARKit

It's fun to see how all these technologies play together across different platforms!

#visionOS #AppleVisionPro #iOS

Raycasting in #visionOS

Let's see if I get a prototype of my new game ready till #WWDC24 ๐Ÿ•น๏ธ๐Ÿ‘€

#buildinpublic #wip #AppleVisionPro

Going to my first WWDC ๐Ÿคฉ ๐Ÿ™Œ #wwdc24

Finally I can share that together with Broken Rules I have been working on the visionOS version of the Apple Arcade and Apple Design Award Winning game Gibbon: Beyond the Trees over the last couple of months๐Ÿ’๐Ÿ•น๏ธ

Unity gameplay combined with native #visionOS features in Swift ๐Ÿค

#AppleVisionPro #visionOS #iOS #Apple #Arcade #Unity

TIL There is an equivalent of InputTargetComponent(allowedInputTypes: .indirect) in SwiftUI

Add .handActivationBehavior(.pinch) to gesture modifiers to prevent them being triggered by direct touches

Super useful to support direct touch and dragging simultaneously

1 = just DragGesture - immediate drag, also drag on direct touch
2 = minimumDistance - drag distance needed, no drag on direct touch
3 = handActivationBehavior - immediate drag, no drag on direct touch ๐ŸŽ‰

#visionOS #AppleVisionPro