Skip to content

Commit

Permalink
Turned off showPhysics because of Xcode 7 bug
Browse files Browse the repository at this point in the history
Increased culling rowHeight for iPhone 6+
Adjusted test player physicsBody position so he doesn't look like he is hovering
  • Loading branch information
SkylerLauren authored and Skyler Lauren committed Feb 24, 2016
1 parent be3c2c2 commit 9766b86
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion Example/SKAToolKitExample/Controllers/ViewController.m
Expand Up @@ -46,7 +46,6 @@ - (void)viewDidLoad
skView.showsFPS = YES;
skView.showsDrawCount = YES;
skView.showsNodeCount = YES;
skView.showsPhysics = YES;

// Create and configure the scene.
GameScene *scene = [GameScene sceneWithSize:self.view.bounds.size];
Expand Down
2 changes: 1 addition & 1 deletion Example/SKAToolKitExample/Scenes/GameScene.m
Expand Up @@ -119,7 +119,7 @@ - (void)update:(NSTimeInterval)currentTime
[self.map cullAroundIndexX:playerIndex.x
indexY:playerIndex.y
columnWidth:14
rowHeight:7];
rowHeight:9];

//auto follow updates
[self.map update];
Expand Down
7 changes: 4 additions & 3 deletions SKAToolKit.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'SKAToolKit'
s.version = '1.0.4'
s.version = '1.0.5'
s.license = 'MIT'
s.summary = 'SKAToolKit is a free set of tools to be used with Apple\'s Sprite Kit framework.'
s.homepage = 'http://spritekitalliance.com/'
Expand All @@ -10,7 +10,8 @@ Pod::Spec.new do |s|
'Ben Kane' => 'ben.kane27@gmail.com',
'Max Kargin' => 'maksym.kargin@gmail.com',
'Skyler Lauren' => 'skyler@skymistdevelopment.com',
'Marc Vandehey' => 'marc.vandehey@gmail.com'
'Sid Mani' => 'sidmani42@gmail.com',
'Marc Vandehey' => 'marc.vandehey@gmail.com'
}
s.source = {
:git => 'https://github.com/SpriteKitAlliance/SKAToolKit.git',
Expand All @@ -24,4 +25,4 @@ Pod::Spec.new do |s|
s.frameworks = 'SpriteKit', 'UIKit'
s.library = 'z'
s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '"$(PODS_ROOT)/"' }
end
end
2 changes: 1 addition & 1 deletion SKAToolKit/SKATestingNodes/SKATestPlayer.m
Expand Up @@ -67,7 +67,7 @@ - (void)loadAssets
self.position = CGPointMake(300, 350);
self.physicsBody =
[SKPhysicsBody bodyWithCircleOfRadius:15
center:CGPointMake(0, -40)];
center:CGPointMake(0, -25)];
self.physicsBody.allowsRotation = NO;
self.physicsBody.restitution = 0;
self.physicsBody.friction = 0.2;
Expand Down

0 comments on commit 9766b86

Please sign in to comment.