Read the Instructions before clicking 'see inside'. Note: This is a Demonstration project, all code are copyrighted by me. To understand what this is you must understand Scratch Basic Timer(Blue variable): -------------------------------------------------- Notice that the timer caculates one second EXACTLY, unlike the wait block. This timer even runs even if you click the stop button, however resets when green flag is clicked. The Basics of the project: ---------------------------------------- I am not saying you are supposed to copy the code inside, i am just saying that you have to understand HOW it works, So you can apply it to your game/ ------------------------------------------- Demonstration: ------------------------------------------ See the Bullet Damage and Bullet Firerate? Adjust and Decrease those variables to see how this project works. e.g. = Set the Bullet Damage to 2 and Bullet firerate to approximately 0.1. Notice that exactly 20 damage is applied per second e.g.2 = Set the Bullet Damage to 1 and Bullet firerate to 0.01. See that it fires 100 damage exactly? now go ahead and click see inside.
All by me. References: Tower Missions by me: https://scratch.mit.edu/projects/583675441 Tower Defence Simulator(Enchanged)(Testing) by @tester559 https://scratch.mit.edu/projects/690574550/ (Not sure if his code is the same as mine but this project is my version)