Making a Swift game. Trying to activate the function "fireFrisbee" at random time intervals between 0-3 seconds forever.
iphone simulation shows a white screen. The function only seems activate once (only one frisbee firing sound heard)
let action = SKAction.sequence([SKAction.run(fireFrisbee), SKAction.wait(forDuration: TimeInterval(arc4random_uniform(3)))])
run(SKAction.repeatForever(action))
I have this line of code under override func didMove(to view: SKView) {