I am making a tank game and I would like it so you you can’t spam the trigger. It would like about one second waiting period between each shot.
Add a switch between the trigger and the bullet emitter. When you hit the trigger, it also turns the switch off (after firing) and triggers a timer (set to one sec). The output of the timer turns the switch back on so you can fire again.
Can you post a screenshot of an example?
I added a second delay to the trigger on the tank demo here: http://flowlab.io/game/view/177292
I added the behaviors described above to the turret object.