import SpriteKit import CoreMotion enum CollisionTypes: UInt32 { case player = 1 case wall = 2 case star = 4 c […]
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManageme […]
import SpriteKit import GameplayKit class GameScene: SKScene { override func didMove(to view: SKView) { backgr […]
import SpriteKit import GameplayKit extension SKPhysicsBody { func ideal() -> SKPhysicsBody { //摩擦係数の値で 1 に […]