Sprite Kit Game - storyboard yes or no? -


i making sprite kit game several scenes including logo screen, main menu, other menus , 2 playing scenes. should use storyboard? did pure code each scene, have problems releasing scenes after transitions. using storyboard fix these problems, or not?

thanks answers.

i'd go storyboards.

when need switch viewcontroller (by segue), remove skview view hierarchy. release skscene:

- (void)prepareforsegue:(uistoryboardsegue *)segue sender:(id)sender {     [self.skview removefromsuperview];     self.skview = nil; } 

note in case you'll need manually add skview view hierarchy every time viewcontroller appear:

if (!self.skview.window) {     [self.view addsubview:self.skview]; } 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -