fps coming out for pc!!!

Okay so have an expression

Have A set to the amount of bullets you want in a single cartridge

Have B set to the amount of bullets you want consumed on shooting

Set the expression to A-B

Bring the output back to A

Set the fire button to EVAL on the expression

When the fire button is pressed, 1 bullet is subtracted.
Have a filter just afterward, leave it as is, drag the output of the expression into it.

Drag the FAIL output to a timer set to the reloading time and put a number (the number of bullets in your cartridge) and bring that back to the expression’s A.

Bring the filter pass to the emit, and your good to go!

When the bullets are all gone, the player automatically reloads

thanks for your help, @jngthree ! i really screwed up on my player! the sprite editor enlarged my sprite, so i have to make a new player, and restart all the coding for it.

Just put the existing behaviors in a bundle. And add it to the new one

Reply to: @jngthree thanks. already got it figured out. btw, i added your reload mech, and made an option so you can manually reload by pressing L. also added a timer for 20 seconds, then moves you to the next level, added a scoreboard, and lots of other cool things.

Good job

Reply to: @jngthree
thank you once again for your feedback, support, and help.