0

I am trying to create a game where you have to jump over obstacles. If you hit the obstacle it changes to a different scene with score but that scene is just as wide but not as tall and I don't know why? This is my code:

    SKScene *newScene = [[WEnewScene alloc] initWithSize:self.size];
    SKTransition *doors = [SKTransition doorseCloseHorizontalWithDuration:1.0];
    [self.view presentScne:newScene transition:doors];
user3762780
  • 45
  • 1
  • 6

0 Answers0