I know this is an old post but hoping someone will respond.
Is there a way to put a delay before the actual powerup spawns at the location? I want a delay to activate a sound then have it appear. This is what I have been trying but isnt working.
level.buyable_powerup_cost = 2500; // Cost for powerup
level.buyable_powerup_delay = 10; //Delay before the powerup appears in seconds
level.buyable_powerup_cooldown = 10; // Cooldown in seconds for buyable trigger in seconds
Line 2 is the line I put in for the delay.
Any help is appreciated
I figured it out. Dont know how to delete