Now we will create the fruit cannon which fires fruit into the air
Create a new scene with Node2D as root
Add a new script to the FruitCannon node
Add export variables for:
Add an onready variable for
Reference to the Timer node
Add variables for all of the fruit that you made
Choose a random start time for the first shot
Connect the timout signal
50/50 chance of spawning a bomb
Add the fruit to the scene
Pick new wait time for next shot