Post not yet marked as solved
I’m wondering if it’s possible to use SceneKit or GamePlayKit to handle physics etc and having SwiftUI to create the 3D content?
Post not yet marked as solved
I have Xcode 14.3.1
/////START of Code
import SpriteKit
import GameplayKit
class PlayerControlComponent : GKComponent, ControlInputDelegate {
var touchControlNode : TouchControlInputNode?
func setupControls (camera: SKCameraNode, scene: SKScene){
touchControlNode = TouchControlInputNode(frame: scene.frame)
touchControlNode?.inputDelegate = self
touchControlNode?.position = CGPoint.zero
camera.addChild(touchControlNode!)
}
func follow(command: String?) {
print("command:(String(describing: command))")
}
}
///////End of code
I have no error in project and the simulator shows launch screen then precedes to what I have on the game scene when I have no component in the component inspector of the the Sprite(player) when I add a component to the component inspector of the Sprite(player) that is when, after the launch screen, it is a grey screen.
The component is supposed to add the controls I created in the TouchContorolNode file and have the camera and controls so as the player moves the controls follow the Sprite(player).
Does anyone know why the screen is turning Grey after the launch screen with the comment attached to the Sprite(player)?
Post not yet marked as solved
I am getting 4 warnings compiling the current template of
sceneKit game
/Users/helmut/Documents/spaceTime/scntool:1:1 Could not find bundle inside /Library/Developer/CommandLineTools
any idea why the bundle is not installed I did a new download twice now
still stuck getting these warnings about bundles not installed or not found
any solution to correct the download install so the base dependencies are present
thank you
Post not yet marked as solved
Previously art work used and porting a complex 3D mechanical Clock I am running
into constant build errors using my previous art work .scn files
I had some success converting my .usdz original to .scn file some convert but most
just being in the art folder of the build environment cause this crash
and are no longer compatible
I use the same art work of gears and parts in UNITY build environment without any
build issues most of my clocks have up to 35 different interacting parts
These are replicas of classical clock mechanism
Is any one else having problems with similar .scn files [?]
Post not yet marked as solved
My name is Leuy, a sophomore at the Wharton School of Business, with a passion for entrepreneurship and a strong belief in the potential of VR and AR technologies to reshape our family interactions.
I'm currently working on a groundbreaking startup that aims to create a family-oriented co-working and co-learning platform. The essence of my vision is to help busy working parents spend quality time with their kids using virtual reality (VR) and augmented reality (AR) on Apple's vision pros.
Do you know where I can find the best software developers to help bring my vision to life?
Thanks.
Post not yet marked as solved
Hello,
I've got a question about the Xcode Scene Editor. That is the SceneKit one NOT SpriteKit.
According to this documentation:
https://developer.apple.com/documentation/scenekit/scnnode/2873004-entity
the entity property of a node serialised via the Xcode's scene editor can be set.
While the Xcode's SpriteKit Scene Editor has this option I cannot find anything similar in the SceneKit editor. So my question is do *.scn files produced from Xcode contain GameplayKit information such as a GKEntity graph or only SCNNode data? Do I have to parse the scene and programatically create GKEntities? If that is the case there must be an error in the documentation.
Thank you!
Post not yet marked as solved
Hi everyone,
I'm trying to implement matchmaking in visionOS using GameKit and GameCenter.
I'm following the example project that been shared but I get an error.
Error: The requested operation could not be completed because you are not signed in to iCloud..
I'm getting this error as a result of matchmaking. I'm already logged in to iCloud in Vision Pro Simulator. I've tried to switch off-on every related settings but didn't work.
I'm using latest Xcode Dev Beta and visionOS Beta v6.
Would you mind share me any workaround?
Regards,
Melih
Post not yet marked as solved
I'm working in a game where I integrate matchmaker and it's working fine when I try with two devices under same wifi network, but in the moment I use 5g mobile network and I do the matchmaker, I can still see each other but the game did not start and I see error sending data to the remote player.
The game is not yet published and I'm using TestFlight for the clients.
Post not yet marked as solved
I tried twice to install homebrew and I got a error message twice:
Error: apple/apple/game-porting-toolkit 1.1 did not build
Logs:
/Users/omarzunun/Library/Logs/Homebrew/game-porting-toolkit/00.options.out
/Users/omarzunun/Library/Logs/Homebrew/game-porting-toolkit/01.configure
/Users/omarzunun/Library/Logs/Homebrew/game-porting-toolkit/01.configure.cc
/Users/omarzunun/Library/Logs/Homebrew/game-porting-toolkit/02.make
/Users/omarzunun/Library/Logs/Homebrew/game-porting-toolkit/wine64-build
If reporting this issue please do so to (not Homebrew/brew or Homebrew/homebrew-core):
apple/apple
Post not yet marked as solved
Hi Apple and Swift friends.
I'm not really a fluent Swift programmer (or any language) just knowledgable, I just a vague logic of what's going on. This is a gamepad controller remapper similar to DS4Windows on the PC and DSX on Steam gaming.
On macOS Sonoma, it successfully compiled and connected the amazing Sony Playstation DualSense but because it has 33 yellow warning, the Setting doesn't show. It says something about outdated something and needs to be replaced by a newer framework.network. It also says it can't use self:
It should look like these:
What could be the syntax changes that won't produce the 30+ yellow warnings?
The file can be had here:
[https://github.com/marcowindt/ds4macos)
God bless.
Post not yet marked as solved
i try to run EAappInstaller.exe on whisky. and here was what came out.i just cant install EA app.please help.thanks ahead
Post not yet marked as solved
I know I watched this but it is no where to be found on Apple's site or the Developer app. Nor does the Wayback Machine have it.
http://developer.apple.com/wwdc16/608
Graphics and Games #WWDC16
What’s New in GameplayKit
Session 608
Bruno Sommer Game Technologies Engineer
Sri Nair Game Technologies Engineer
Michael Brennan Game Technologies Engineer
Post not yet marked as solved
My MacBook Pro is M3 max, running macOS 14.4.1 (23E224), with Xcode 15.3 and Command_Line_Tools_for_Xcode_15.3 installed. When I tried to execute "brew -v install apple/apple/game-porting-toolkit", it reported the following error.
Error: apple/apple/game-porting-toolkit 1.1 did not build
Logs:
/Users/yuanmouren/Library/Logs/Homebrew/game-porting-toolkit/00.options.out
/Users/yuanmouren/Library/Logs/Homebrew/game-porting-toolkit/01.configure
/Users/yuanmouren/Library/Logs/Homebrew/game-porting-toolkit/01.configure.cc
/Users/yuanmouren/Library/Logs/Homebrew/game-porting-toolkit/02.make
/Users/yuanmouren/Library/Logs/Homebrew/game-porting-toolkit/wine64-build
If reporting this issue please do so to (not Homebrew/brew or Homebrew/homebrew-core):
apple/apple
I found the following error reasons in the console.
/private/tmp/game-porting-toolkit-20240414-2133-st99bv/wine/dlls/crypt32/unixlib.c:629:11: error: unknown type name 'SecTrustSettingsDomain'
const SecTrustSettingsDomain domains[] = {
^
/private/tmp/game-porting-toolkit-20240414-2133-st99bv/wine/dlls/crypt32/unixlib.c:630:9: error: use of undeclared identifier 'kSecTrustSettingsDomainSystem'
kSecTrustSettingsDomainSystem,
^
/private/tmp/game-porting-toolkit-20240414-2133-st99bv/wine/dlls/crypt32/unixlib.c:631:9: error: use of undeclared identifier 'kSecTrustSettingsDomainAdmin'
kSecTrustSettingsDomainAdmin,
^
/private/tmp/game-porting-toolkit-20240414-2133-st99bv/wine/dlls/crypt32/unixlib.c:632:9: error: use of undeclared identifier 'kSecTrustSettingsDomainUser'
kSecTrustSettingsDomainUser
^
/private/tmp/game-porting-toolkit-20240414-2133-st99bv/wine/dlls/crypt32/unixlib.c:640:18: warning: this function declaration is not a prototype [-Wstrict-prototypes]
status = SecTrustSettingsCopyCertificates(domains[domain], &certs);
^
/private/tmp/game-porting-toolkit-20240414-2133-st99bv/wine/dlls/crypt32/unixlib.c:641:23: error: use of undeclared identifier 'noErr'
if (status == noErr)
^
/private/tmp/game-porting-toolkit-20240414-2133-st99bv/wine/dlls/crypt32/unixlib.c:647:31: warning: this function declaration is not a prototype [-Wstrict-prototypes]
if ((status = SecItemExport(cert, kSecFormatX509Cert, 0, NULL, &certData)) == noErr)
^
/private/tmp/game-porting-toolkit-20240414-2133-st99bv/wine/dlls/crypt32/unixlib.c:647:51: error: use of undeclared identifier 'kSecFormatX509Cert'
if ((status = SecItemExport(cert, kSecFormatX509Cert, 0, NULL, &certData)) == noErr)
^
/private/tmp/game-porting-toolkit-20240414-2133-st99bv/wine/dlls/crypt32/unixlib.c:647:95: error: use of undeclared identifier 'noErr'
if ((status = SecItemExport(cert, kSecFormatX509Cert, 0, NULL, &certData)) == noErr)
^
2 warnings and 7 errors generated.
make: *** [dlls/crypt32/unixlib.o] Error 1
make: *** Waiting for unfinished jobs....
How should I resolve this issue?