Post

Replies

Boosts

Views

Activity

Reply to Possible to batch SKEmitterNodes?
I noticed the same thing, every SKEmitterNode increases the draw call count. Were you able to do anything to batch these draw calls? In my case, all these SKEmitterNodes use the same texture, default blend mode, zero particleColorBlendFactor and have the same targetNode with the same particleZPosition.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Apr ’23
Reply to SKView showsFields draws only on a portion of the screen
Looks like there is more to SKView.showsFields. When showsFields is true, if you have an SKFieldNode.customField({}) in the scene, the custom block is called for what appears to be physics bodies to the far top right, with different positions, zero velocity, 1.0 mass, 0.0 charge. Same, this can be easily replicated using the Game Playground, by adding an SKFieldNode.customField({}) with a block that prints out the arguments. If SKView.showsFields is false, the block is not called, as it should be. Feedback report has been updated but there's no update on it.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Apr ’22
Reply to Older macs on BigSur won't be able to develop iOS 15.4+ apps anymore?
Yes, what I meant is being able to run/test apps on devices running iOS 15.4+, or on the simulator running those versions. Basically you won't be able to use iOS 15.4+ SDKs at all while developing. This is definitely not good. A 2014 Macbook Pro is totally capable of running Monterey. Even more so that the 2014 Mac Mini is still supported by Apple to update to Monterey. A decision that is really hard to understand... Thanks for your reply.
Feb ’22
Reply to Offset modifier not working when used inside a scoped animation (iOS 17) in SwiftUI
Similar to this WWDC video: https://developer.apple.com/videos/play/wwdc2023/10156/?time=1510
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to TabView content stops off-center after an animated transition
It seems to be related to safe areas as it doesn't happen on Touch ID devices.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to ScrollView with .viewAligned and .scrollPosition() not updating on orientation (size) changes
Another possible bug with this code: in landscape orientation the scrollable content is not clipped, although ScrollView should clip its content, by default. Adding a small horizontal padding to the container clips the content.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to SwiftUI Preview triggers test target build
Still an issue in Xcode 15.3 (15E204a).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to Possible to batch SKEmitterNodes?
I noticed the same thing, every SKEmitterNode increases the draw call count. Were you able to do anything to batch these draw calls? In my case, all these SKEmitterNodes use the same texture, default blend mode, zero particleColorBlendFactor and have the same targetNode with the same particleZPosition.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Apr ’23
Reply to How to animate SKShapeNode's lineLength
I guess the property should be read-write, otherwise it would not make sense for it to exist. I wonder if we can get Apple's opinion on this, probably a bug report for this would be a good start.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Jan ’23
Reply to Issues Surrounding GKPlayer's playerId Deprecation in iOS 13
I'm experiencing similar issues, e.g. teamPlayerID and gamePlayerID are both "UnknownID". This just started happening between 2 devices and 2 GC accounts that used to work (my own devices and accounts). Not sure how to fix this so I'm wondering if there's any response from Apple on the bug reports reported by @RajDoshi.
Topic: Graphics & Games SubTopic: GameKit Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to Xcode asks to install Rosetta
It seems that Xcode 14.1 doesn't ask to install Rosetta anymore.
Replies
Boosts
Views
Activity
Nov ’22
Reply to SKView showsFields draws only on a portion of the screen
Related: https://stackoverflow.com/questions/72045165/why-is-spritekits-showfields-property-not-working-properly
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to SKView showsFields draws only on a portion of the screen
Looks like there is more to SKView.showsFields. When showsFields is true, if you have an SKFieldNode.customField({}) in the scene, the custom block is called for what appears to be physics bodies to the far top right, with different positions, zero velocity, 1.0 mass, 0.0 charge. Same, this can be easily replicated using the Game Playground, by adding an SKFieldNode.customField({}) with a block that prints out the arguments. If SKView.showsFields is false, the block is not called, as it should be. Feedback report has been updated but there's no update on it.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to autenticateHandler not being called
It looks like a bug or a change that was introduced in the framework, that is contrary to what the docs say. Consider filling a bug report with Apple https://feedbackassistant.apple.com/
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to Game Center authentication workflow
Same problem here. Has anyone found any workarounds to this issue?
Topic: Graphics & Games SubTopic: GameKit Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to Older macs on BigSur won't be able to develop iOS 15.4+ apps anymore?
Yes, what I meant is being able to run/test apps on devices running iOS 15.4+, or on the simulator running those versions. Basically you won't be able to use iOS 15.4+ SDKs at all while developing. This is definitely not good. A 2014 Macbook Pro is totally capable of running Monterey. Even more so that the 2014 Mac Mini is still supported by Apple to update to Monterey. A decision that is really hard to understand... Thanks for your reply.
Replies
Boosts
Views
Activity
Feb ’22
Reply to Xcode scene editor not displaying svg textures from reference nodes
I submitted a feedback with Apple too: https://feedbackassistant.apple.com/feedback/9763834
Replies
Boosts
Views
Activity
Nov ’21
Reply to SpriteKit draw calls not batched when using a texture atlas from data stored in the app bundle
I also submitted a feedback report with Apple: https://feedbackassistant.apple.com/feedback/9763803
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Nov ’21