You can use the phaser timer to spawn a new apple all 500ms
this.time.addEvent({
delay: 500,
callback: ()=>{
// spawn a new apple
},
loop: true
})
You can use the phaser timer to spawn a new apple all 500ms
this.time.addEvent({
delay: 500,
callback: ()=>{
// spawn a new apple
},
loop: true
})