ios - unable to change the centre point of a UIImageView -


so, in ios pacman game, after collision detected between pacman , enemy brick method runs. suppose stop game timer, show start button , return pacman start point. method functions correctly except pacman stays , never returns start point, making obvious mistake in changing centre point?

-(void)lose{     [self stoptimer];     self.play.hidden = false;     _start = cgpointmake(30, 247);     self.pacman.center = self.start;     [self.pacman setneedsdisplay]; } 

thanks help, alex

if there problem.

self.pacman.center = cgpointmake(30, 247); 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -