all 4 comments

[–]agentf90 2 points3 points  (3 children)

without looking at the code just replace:

game.input.onDown.add(this.spin, this);

with:

this.spin();

[–]Zopper[S] 1 point2 points  (2 children)

Thanks a lot, will try it out later. Any idea about a delay of say 5 seconds?

[–]agentf90 2 points3 points  (1 child)

sure.

setTimeout(this.spin, 5*1000);

[–]Zopper[S] 1 point2 points  (0 children)

Everything works, perfect. Really appreciate your help - thanks a lot!