Moving background to infinite scroll help Swift Sprite Kit -
i'm having trouble understanding did wrong here. it's supposed infinite scroll downwards , can't fix it. help! func movebackground() { let movebackground = skaction.movebyx(0, y: -self.size.height, duration: 1.0) let repeatbackground = skaction.repeatactionforever(movebackground) let removebackground = skaction.removefromparent() let sequencethis = skaction.sequence([movebackground, repeatbackground, removebackground]) } func repeatbackground() { let generatebackground = skaction.sequence([ skaction.runblock(self.movebackground), skaction.waitforduration(2.7)]) let endlessaction = skaction.repeatactionforever(generatebackground) runaction(endlessaction) } override func didmovetoview(view: skview) { scene?.scalemode = .aspectfill var backgroundtexture = sktexture(imagenamed: "background.png") background.position = cgpoint(x: self.frame.size.width/2, y: self.frame.size.height/2) background.tex...