Questions tagged [kobold-kit]
5 questions
3
votes
1 answer
Is it safe to override the SKNode's removeChild undocumented/private method?
SKNode has a removeChild undocumented method which is called on parent object when deleting its child by removeFromParent method. Is it safe to override removeChild?

user1668604
- 431
- 2
- 11
2
votes
2 answers
Creating a tiled hex game with Swift
I'm new to Swift / Objective-C but have been coding Mac and Windows apps / games for years using Xojo (similar to Visual Basic).
I want to make a simple turn-based strategy game with a tiled hex map and I want to do it in Swift for Mac OS X. What…

Garry Pettet
- 8,096
- 22
- 65
- 103
2
votes
1 answer
iOS Kobold Kit how to disable on-screen debug (gpu: renderer: ...etc)?
When a vanilla Sprite Kit project is started, it shows node count and FPS using these calls
SKView * skView = (SKView *)self.view;
skView.showsFPS = YES;
skView.showsNodeCount = YES;
However, I cannot seem to disable these for KKView, I…

Alex Stone
- 46,408
- 55
- 231
- 407
2
votes
1 answer
iOS7 Sprite Kit how to combine interactive Sprite Nodes and interactive UIViews?
I'm building a sprite kit game and have created a UIView with collection views and buttons to represent in-game inventory. From my past experience with UIView, if I add one on top of another, the top UIView would intercept touches, unless it's user…

Alex Stone
- 46,408
- 55
- 231
- 407
2
votes
2 answers
iOS how to achieve UIButton's like behavior for nodes in Sprite Kit?
I would like some of my Sprite Kit nodes to behave like UIButtons. I tried 2 approaches:
1) Use touchesBegan: - this works if a user is careful, but seems to fire multiple times, faster than I can disable interaction, resulting in a button being…

Alex Stone
- 46,408
- 55
- 231
- 407