{"action":"created","issue":{"url":"https://api.github.com/repos/mredig/SGG_SKSpineImport/issues/5","labels_url":"https://api.github.com/repos/mredig/SGG_SKSpineImport/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/mredig/SGG_SKSpineImport/issues/5/comments","events_url":"https://api.github.com/repos/mredig/SGG_SKSpineImport/issues/5/events","html_url":"https://github.com/mredig/SGG_SKSpineImport/issues/5","id":55015257,"number":5,"title":"Not working with Swift","user":{"login":"sidshekar","id":2862097,"avatar_url":"https://avatars.githubusercontent.com/u/2862097?v=3","gravatar_id":"","url":"https://api.github.com/users/sidshekar","html_url":"https://github.com/sidshekar","followers_url":"https://api.github.com/users/sidshekar/followers","following_url":"https://api.github.com/users/sidshekar/following{/other_user}","gists_url":"https://api.github.com/users/sidshekar/gists{/gist_id}","starred_url":"https://api.github.com/users/sidshekar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidshekar/subscriptions","organizations_url":"https://api.github.com/users/sidshekar/orgs","repos_url":"https://api.github.com/users/sidshekar/repos","events_url":"https://api.github.com/users/sidshekar/events{/privacy}","received_events_url":"https://api.github.com/users/sidshekar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-21T13:00:40Z","updated_at":"2015-01-21T13:37:11Z","closed_at":null,"body":"Sorry I actually posted this stuff on simonKim but I think it should here as it is reg this git repo. :D\r\n\r\nOk I think I fixed it for the most part. Instead of importing the whole importer folder I just copied the filesover and at the I dont get the error. But when it builds I get images with red crosses on them.\r\n\r\n    hero.skeletonFromFileNamed(\"player\", andAtlasNamed: \"player\", andUseSkinNamed: nil)\r\n    hero.position = CGPoint(x: viewSize.width/2, y: viewSize.height/2)\r\n    hero.runAnimation(\"runCycle\", andCount: -1)\r\n    addChild(hero)\r\nI am using the same files I used in my cocos2d-x project from here. https://github.com/sidshekar/cc2dx33_wp8Game\r\n\r\n[edit] Got the images to show by adding all the atlas images into a player.atlas FOLDER and importing it into spritekit but still the animation is not playing. In the last time also the animation was not getting played and images where also not showing so guess I am one step closer. :D\r\nsidshekar\r\n \r\n\r\n[edit] Hmm... I am really stuck now. Looks like hero.runAnimation(\"runCycle\", andCount: -1) doesnt have any effect!!!\r\n\r\n[edit] I imported my character in your objc project and it was running finw!!!\r\n\r\n![jan 21 2015 17 57](https://cloud.githubusercontent.com/assets/2862097/5836418/6ae184c0-a19b-11e4-81fc-a904663c0785.gif)\r\n\r\nAlso I imported the spineBoy from your project into my swift project and it didn't work."},"comment":{"url":"https://api.github.com/repos/mredig/SGG_SKSpineImport/issues/comments/70837400","html_url":"https://github.com/mredig/SGG_SKSpineImport/issues/5#issuecomment-70837400","issue_url":"https://api.github.com/repos/mredig/SGG_SKSpineImport/issues/5","id":70837400,"user":{"login":"sidshekar","id":2862097,"avatar_url":"https://avatars.githubusercontent.com/u/2862097?v=3","gravatar_id":"","url":"https://api.github.com/users/sidshekar","html_url":"https://github.com/sidshekar","followers_url":"https://api.github.com/users/sidshekar/followers","following_url":"https://api.github.com/users/sidshekar/following{/other_user}","gists_url":"https://api.github.com/users/sidshekar/gists{/gist_id}","starred_url":"https://api.github.com/users/sidshekar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidshekar/subscriptions","organizations_url":"https://api.github.com/users/sidshekar/orgs","repos_url":"https://api.github.com/users/sidshekar/repos","events_url":"https://api.github.com/users/sidshekar/events{/privacy}","received_events_url":"https://api.github.com/users/sidshekar/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T13:37:11Z","updated_at":"2015-01-21T13:37:11Z","body":"WORKING!!! in swift. You missed out to include hero.activateAnimations()  in the udpdate function!!!!... Now it is working :D"}}