Skip to content

Conversation

@TFilson
Copy link

@TFilson TFilson commented Jun 9, 2025

Movement is now controlled by PyGame's "get_pressed()" function to be able to handle keys being held down.
This prevents momentum from being stopped completely while the player is still inputting a direction.

The same function could be used to allow the spacebar to be held to fire bullets as they're ready, but I did not implement that here.

@code-with-sayad-babu-dev

Maybe you could also apply this logic for the spacebar to allow continuous shooting?

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

Successfully merging this pull request may close these issues.

2 participants