Closed SoundBlaster closed 8 years ago
Some improvement for stars animation on Intro screen, like flying through stars array:
func randomizeEmitterPosition() { let sizeWidth = 1.0*self.bounds.size.height let radius = 0 + CGFloat(arc4random()) % sizeWidth; emitter.emitterSize = CGSizeMake(radius, radius) particle.birthRate = 10 + sqrt(Float(radius)) }
Looks great!!! Thanks, @SoundBlaster. https://github.com/Yalantis/StarWars.iOS/commit/b104fb54cd21a41c8589ac6e59f718078e1f69ef
why not have OC ?
Some improvement for stars animation on Intro screen, like flying through stars array: