Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manual mode causes the spawner to spawn bullets continously #15

Open
Melon-The-Dev opened this issue Jun 27, 2024 · 1 comment
Open

Comments

@Melon-The-Dev
Copy link

when i set the start_mode to manual, then call set_manual_start(true) everyframe the spawner just spawns bullet every frame and not taking the firerate into account. is this intentional or is there a way to handle firerates in manual mode(like a method called can_shoot() that returns true if the bullet can fire again after the fire rate or false if it cant shoot yet)

@Moonzel
Copy link
Owner

Moonzel commented Jan 18, 2025

This is not intentional, I would create a timer and act as if you are controlling the firerate that way. If I have time soon, ill make a function for that, but I cannot guarantee it at the moment. If you wanted to code this yourself using the documentation, that would not be too difficult as well. Let me know if you have any other questions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants