ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
UIKit ¤È SpriteKit ¤òʹ¤Ã¤Æ¤ß¤Æ¤ï¤«¤Ã¤¿¤³¤È
UIKit ¤È SpriteKit ¤òʹ¤Ã¤Æ¤ß¤Æ¤ï¤«¤Ã¤¿¤³¤È
UIKit ¤È SpriteKit ¤òʹ¤Ã¤Æ¤ß¤Æ¤ï¤«¤Ã¤¿¤³¤È
UIKit ¤È SpriteKit ¤òʹ¤Ã¤Æ¤ß¤Æ¤ï¤«¤Ã¤¿¤³¤È
@IBOutlet weak var tableView: UITableView!
@IBAction func close(_ sender: Any) {
print("close")
}
score = self.childNode(withName: "score") as! SKLabelNode
if let node = atPoint(pos) as? SKSpriteNode {
if(node == start){
print("start")
}
}
UIKit ¤È SpriteKit ¤òʹ¤Ã¤Æ¤ß¤Æ¤ï¤«¤Ã¤¿¤³¤È
UIKit ¤È SpriteKit ¤òʹ¤Ã¤Æ¤ß¤Æ¤ï¤«¤Ã¤¿¤³¤È
UIKit ¤È SpriteKit ¤òʹ¤Ã¤Æ¤ß¤Æ¤ï¤«¤Ã¤¿¤³¤È
UIKit ¤È SpriteKit ¤òʹ¤Ã¤Æ¤ß¤Æ¤ï¤«¤Ã¤¿¤³¤È
UIKit ¤È SpriteKit ¤òʹ¤Ã¤Æ¤ß¤Æ¤ï¤«¤Ã¤¿¤³¤È
pig.physicsBody = SKPhysicsBody(texture: pig.texture!, size: pig.size)
UIKit ¤È SpriteKit ¤òʹ¤Ã¤Æ¤ß¤Æ¤ï¤«¤Ã¤¿¤³¤È
UIKit ¤È SpriteKit ¤òʹ¤Ã¤Æ¤ß¤Æ¤ï¤«¤Ã¤¿¤³¤È
UIKit ¤È SpriteKit ¤òʹ¤Ã¤Æ¤ß¤Æ¤ï¤«¤Ã¤¿¤³¤È
UIKit ¤È SpriteKit ¤òʹ¤Ã¤Æ¤ß¤Æ¤ï¤«¤Ã¤¿¤³¤È

More Related Content

UIKit ¤È SpriteKit ¤òʹ¤Ã¤Æ¤ß¤Æ¤ï¤«¤Ã¤¿¤³¤È

  • 5. @IBOutlet weak var tableView: UITableView! @IBAction func close(_ sender: Any) { print("close") } score = self.childNode(withName: "score") as! SKLabelNode if let node = atPoint(pos) as? SKSpriteNode { if(node == start){ print("start") } }
  • 11. pig.physicsBody = SKPhysicsBody(texture: pig.texture!, size: pig.size)