これをコーディングしたところ、エラー (宣言されていない識別子 'RandomPosition' の使用) が表示されます。私は xCode を初めて使用するので、助けが必要です...これらは次の行です。
RandomPosition = arc4random() %25;
RandomPosition = RandomPosition + 75;
Obstacle.center = CGPointMake(570, RandomPosition);
RandomPosition = arc4random() %1;
Floor.center = CGPointMake(550, 1);
また、xCodeでキャラクターをジャンプさせる方法を知っている人はいますか?
どうもありがとう!